]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.c
Increment version for clustered bitmaps
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Tue, 18 Aug 2015 21:38:27 +0000 (07:38 +1000)
committerNeilBrown <neilb@suse.com>
Mon, 28 Sep 2015 01:47:04 +0000 (11:47 +1000)
commit6d9c7c2551ca31a800f61e36192ee12be20974b1
tree274d6d765afe842a757e762b1793a27ea2e12211
parentccc93b33ca01b85b503cc9c81434967fabfa4330
Increment version for clustered bitmaps

Add BITMAP_MAJOR_CLUSTERED as 5, in order to prevent older kernels
to assemble a clustered device.

In order to maximize compatibility, the major version is set to
BITMAP_MAJOR_CLUSTERED *only* if the bitmap is clustered.

Also, added MD_FEATURE_CLUSTERED in order to return error
for older kernels which would assemble MD in case bitmap is
corrupted.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Create.c
Grow.c
bitmap.c
bitmap.h
mdadm.c
super1.c