From a97b7896447a89749d9258fbb9d8c3faf48a7a4e Mon Sep 17 00:00:00 2001 From: Song Liu Date: Thu, 8 Oct 2015 21:54:09 -0700 Subject: MD: add new bit to indicate raid array with journal If a raid array has journal feature bit set, add a new bit to indicate this. If the array is started without journal disk existing, we know there is something wrong. Signed-off-by: Song Liu Signed-off-by: Shaohua Li Signed-off-by: NeilBrown --- drivers/md/md.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/md/md.h') diff --git a/drivers/md/md.h b/drivers/md/md.h index e14e667a20e9..2bea51edfab7 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -233,6 +233,7 @@ struct mddev { * md_ioctl checked on it. */ #define MD_JOURNAL_CLEAN 5 /* A raid with journal is already clean */ +#define MD_HAS_JOURNAL 6 /* The raid array has journal feature set */ int suspended; atomic_t active_io; -- cgit v1.2.3-55-g7522