diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-08-18 23:38:27 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-09-28 03:47:04 +0200 |
commit | 6d9c7c2551ca31a800f61e36192ee12be20974b1 (patch) | |
tree | 274d6d765afe842a757e762b1793a27ea2e12211 /bitmap.h | |
parent | Makefile: test -s flag and suppress echo when set. (diff) | |
download | mdadm-6d9c7c2551ca31a800f61e36192ee12be20974b1.tar.xz mdadm-6d9c7c2551ca31a800f61e36192ee12be20974b1.zip |
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>
Diffstat (limited to 'bitmap.h')
-rw-r--r-- | bitmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ */ #define BITMAP_MAJOR_HI 4 #define BITMAP_MAJOR_HOSTENDIAN 3 +#define BITMAP_MAJOR_CLUSTERED 5 #define BITMAP_MINOR 39 |