diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2015-06-10 13:42:05 +0800 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-06-17 09:04:16 +1000 |
commit | 529e2aa573333981b211dc50ac687da7baefd224 (patch) | |
tree | e4474033c66a7f9bf66b97c41814758ad75120b8 /super1.c | |
parent | 95a05b37e8eb2bc0803b1a0298fce6adc60eff16 (diff) | |
download | mdadm-529e2aa573333981b211dc50ac687da7baefd224.tar.gz |
Add nodes option while creating md
Specifies the maximum number of nodes in the cluster that may use
this device simultaneously. This is equivalent to the number of
bitmaps created in the internal superblock (patches to follow).
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super1.c')
-rw-r--r-- | super1.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2144,6 +2144,7 @@ add_internal_bitmap1(struct supertype *st, bms->daemon_sleep = __cpu_to_le32(delay); bms->sync_size = __cpu_to_le64(size); bms->write_behind = __cpu_to_le32(write_behind); + bms->nodes = __cpu_to_le32(st->nodes); *chunkp = chunk; return 1; |