X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=md_p.h;h=517b20411e29bc7c46229c1ea5e1e625d40a6174;hb=7bd04da926da54c76315826b571538461eff2553;hp=a9f0204c754a4ab9ac12d02ff5e182910b45cca1;hpb=aba69144fd44fc261c943b0cec540751cfcd29bd;p=thirdparty%2Fmdadm.git diff --git a/md_p.h b/md_p.h index a9f0204c..517b2041 100644 --- a/md_p.h +++ b/md_p.h @@ -75,7 +75,7 @@ * Device "operational" state bits */ #define MD_DISK_FAULTY 0 /* disk is faulty / operational */ -#define MD_DISK_ACTIVE 1 /* disk is running or spare disk */ +#define MD_DISK_ACTIVE 1 /* disk is running but may not be in sync */ #define MD_DISK_SYNC 2 /* disk is in sync with the raid set */ #define MD_DISK_REMOVED 3 /* disk is in sync with the raid set */ @@ -100,7 +100,10 @@ typedef struct mdp_device_descriptor_s { */ #define MD_SB_CLEAN 0 #define MD_SB_ERRORS 1 - +#define MD_SB_BBM_ERRORS 2 +#define MD_SB_BLOCK_CONTAINER_RESHAPE 3 /* block container wide reshapes */ +#define MD_SB_BLOCK_VOLUME 4 /* block activation of array, other arrays + * in container can be activated */ #define MD_SB_BITMAP_PRESENT 8 /* bitmap may be present nearby */ typedef struct mdp_superblock_s {