diff options
author | Song Liu <songliubraving@fb.com> | 2015-10-09 04:54:09 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-11-01 02:48:29 (GMT) |
commit | a97b7896447a89749d9258fbb9d8c3faf48a7a4e (patch) | |
tree | 4d1718f235e90e20c7385097c307d56d343689ba /drivers/md/md.h | |
parent | 6e74a9cfb5a55b0a4214809321b67d7065e55555 (diff) | |
download | linux-a97b7896447a89749d9258fbb9d8c3faf48a7a4e.tar.xz |
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 <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index e14e667..2bea51e 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; |