MD: add a new disk role to present write journal device
authorSong Liu <songliubraving@fb.com>
Thu, 13 Aug 2015 21:31:55 +0000 (14:31 -0700)
committerNeilBrown <neilb@suse.com>
Sat, 24 Oct 2015 06:16:18 +0000 (17:16 +1100)
commitbac624f3f86a8c7db395c7f85ccad6a504b9c4b4
tree0b9240c0fb33d6adf4ddcfd85afd95321cc96552
parentc4d4c91b44d8309082127893221a1971a27c50ca
MD: add a new disk role to present write journal device

Next patches will use a disk as raid5/6 journaling. We need a new disk
role to present the journal device and add MD_FEATURE_JOURNAL to
feature_map for backward compability.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md.c
drivers/md/md.h
include/uapi/linux/raid/md_p.h