summaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.h
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2014-03-07 17:30:43 +0100
committerGoldwyn Rodrigues <rgoldwyn@suse.com>2015-02-23 14:28:30 +0100
commit183bdf5106af069a774146c4f910a80ad1f57485 (patch)
tree940979961b6044b06fcb4a3fc81e801fcf7a1df1 /drivers/md/bitmap.h
parentmd-cluster: Design Documentation (diff)
downloadlinux-183bdf5106af069a774146c4f910a80ad1f57485.tar.xz
linux-183bdf5106af069a774146c4f910a80ad1f57485.zip
Add number of nodes to bitmap structure for clustering
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/bitmap.h')
-rw-r--r--drivers/md/bitmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bitmap.h b/drivers/md/bitmap.h
index 30210b9c4ef9..f4e53eadb083 100644
--- a/drivers/md/bitmap.h
+++ b/drivers/md/bitmap.h
@@ -131,7 +131,8 @@ typedef struct bitmap_super_s {
__le32 sectors_reserved; /* 64 number of 512-byte sectors that are
* reserved for the bitmap. */
- __u8 pad[256 - 68]; /* set to zero */
+ __le32 nodes; /* 68 the maximum number of nodes in cluster. */
+ __u8 pad[256 - 72]; /* set to zero */
} bitmap_super_t;
/* notes: