MD: kick out journal disk if it's not fresh
authorSong Liu <songliubraving@fb.com>
Fri, 9 Oct 2015 04:54:11 +0000 (21:54 -0700)
committerNeilBrown <neilb@suse.com>
Sun, 1 Nov 2015 02:48:29 +0000 (13:48 +1100)
commita3dfbdaadba2612faf11f025b8156c36e3700247
tree4813e5ebf37b2c15b01d9b93b9b54435e2a81f8a
parent7dde2ad3c5b4afb4b2544b864fa34dd1f4897ab6
MD: kick out journal disk if it's not fresh

When journal disk is faulty and we are reassemabling the raid array, the
journal disk is old. We don't allow the journal disk added to the raid
array. Since journal disk is missing in the array, the raid5 will mark
the array readonly.

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