diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2014-11-26 19:22:03 +0100 |
---|---|---|
committer | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-02-23 14:28:43 +0100 |
commit | ca8895d9bb41e743271c42a4438a296de891b73b (patch) | |
tree | 13520c0596a282139fedd1b9d52297548fd1011d /include | |
parent | Introduce md_cluster_info (diff) | |
download | linux-ca8895d9bb41e743271c42a4438a296de891b73b.tar.xz linux-ca8895d9bb41e743271c42a4438a296de891b73b.zip |
Return MD_SB_CLUSTERED if mddev is clustered
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/raid/md_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/raid/md_p.h b/include/uapi/linux/raid/md_p.h index 49f4210d4394..643489d33e68 100644 --- a/include/uapi/linux/raid/md_p.h +++ b/include/uapi/linux/raid/md_p.h @@ -101,6 +101,7 @@ typedef struct mdp_device_descriptor_s { #define MD_SB_CLEAN 0 #define MD_SB_ERRORS 1 +#define MD_SB_CLUSTERED 5 /* MD is clustered */ #define MD_SB_BITMAP_PRESENT 8 /* bitmap may be present nearby */ /* |