MD: when RAID journal is missing/faulty, block RESTART_ARRAY_RW
authorSong Liu <songliubraving@fb.com>
Fri, 9 Oct 2015 04:54:13 +0000 (21:54 -0700)
committerNeilBrown <neilb@suse.com>
Sun, 1 Nov 2015 02:48:29 +0000 (13:48 +1100)
commit339421def582abb14c2217aa8c8f28bb2e299174
treeffb4662582ae9357408d90d83a2e816923b055a3
parentf2076e7d0643d15b11db979acc7cffd2e8d69e77
MD: when RAID journal is missing/faulty, block RESTART_ARRAY_RW

When RAID-4/5/6 array suffers from missing journal device, we put
the array in read only state. We should not allow trasition to
read-write states (clean and active) before replacing journal device.

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