]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - bitmap.h
Add casts for the addr arg of connect and bind
[thirdparty/mdadm.git] / bitmap.h
index c8725a30eb338602ea37e56fe1a2dc6a4c731a07..b8fb07147221fec975367a93dd7c7b8b05964eef 100644 (file)
--- a/bitmap.h
+++ b/bitmap.h
@@ -12,6 +12,7 @@
  */
 #define BITMAP_MAJOR_HI 4
 #define        BITMAP_MAJOR_HOSTENDIAN 3
+#define        BITMAP_MAJOR_CLUSTERED 5
 
 #define BITMAP_MINOR 39
 
@@ -154,8 +155,11 @@ typedef struct bitmap_super_s {
        __u32 chunksize;    /* 52  the bitmap chunk size in bytes */
        __u32 daemon_sleep; /* 56  seconds between disk flushes */
        __u32 write_behind; /* 60  number of outstanding write-behind writes */
-
-       __u8  pad[256 - 64]; /* set to zero */
+       __u32 sectors_reserved; /* 64 number of 512-byte sectors that are
+                                * reserved for the bitmap. */
+       __u32 nodes;        /* 68 the maximum number of nodes in cluster. */
+       __u8 cluster_name[64]; /* 72 cluster name to which this md belongs */
+       __u8  pad[256 - 136]; /* set to zero */
 } bitmap_super_t;
 
 /* notes: