diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2007-05-29 23:20:03 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2007-05-29 23:20:03 +0000 |
commit | c90c4672326c4b568e4b74f0ba372f1d7dbadd80 (patch) | |
tree | 702ece99fe98ba63ff7e016553a3358574218531 /sys/dev/softraidvar.h | |
parent | 6f0aa2bc0d2309a080e85b5470f4e466b941a8dc (diff) |
Add dirty bit for volumes
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r-- | sys/dev/softraidvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h index d1240c6c86f..85312c9cc80 100644 --- a/sys/dev/softraidvar.h +++ b/sys/dev/softraidvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: softraidvar.h,v 1.23 2007/05/29 18:35:00 marco Exp $ */ +/* $OpenBSD: softraidvar.h,v 1.24 2007/05/29 23:20:02 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <sro@peereboom.us> * @@ -189,6 +189,7 @@ struct sr_vol_meta { u_int32_t svm_volid; /* volume id */ u_int32_t svm_status; /* use bioc_vol status */ u_int32_t svm_flags; /* flags */ +#define SR_VOL_DIRTY 0x01 u_int32_t svm_level; /* raid level */ u_quad_t svm_size; /* virtual disk size */ char svm_devname[32];/* /dev/XXXXX */ |