summaryrefslogtreecommitdiffstats
path: root/md_p.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-06-07 23:03:47 +0000
committerNeil Brown <neilb@suse.de>2005-06-07 23:03:47 +0000
commit55935d51800231d7c4ee26fafe5553f8a1471d09 (patch)
treeba5714b8195ff6ccaf4913a7d29024ce98ac2b9c /md_p.h
parente793c2e583740e9364c1285f61e14e687a1fbca1 (diff)
downloadmdadm-55935d51800231d7c4ee26fafe5553f8a1471d09.tar.gz
mdadm-55935d51800231d7c4ee26fafe5553f8a1471d09.tar.xz
mdadm-55935d51800231d7c4ee26fafe5553f8a1471d09.zip
Add support for internal bitmaps
For version 0.90 superblocks, an internal bitmap can be specified at create. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'md_p.h')
-rw-r--r--md_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/md_p.h b/md_p.h
index aeaf878..31eaafd 100644
--- a/md_p.h
+++ b/md_p.h
@@ -96,6 +96,8 @@ typedef struct mdp_device_descriptor_s {
#define MD_SB_CLEAN 0
#define MD_SB_ERRORS 1
+#define MD_SB_BITMAP_PRESENT 8 /* bitmap may be present nearby */
+
typedef struct mdp_superblock_s {
/*
* Constant generic information