]> git.neil.brown.name Git - md.git/commit
MD: when RAID journal is missing/faulty, block RESTART_ARRAY_RW devel
authorSong Liu <songliubraving@fb.com>
Fri, 9 Oct 2015 04:54:13 +0000 (21:54 -0700)
committerNeilBrown <neilb@suse.com>
Thu, 22 Oct 2015 05:23:38 +0000 (16:23 +1100)
commit34194e3c42e51b5e543b17afd63921ded05baf1c
treeee0cea66f5ca0a3730e05d52c060f0b66ba04c1d
parent3a59132c0303f9b829f09ef2d5b1e73d66208eac
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