NeilBrown e555190d82 md/raid1: delay reads that could overtake behind-writes.
When a raid1 array is configured to support write-behind
on some devices, it normally only reads from other devices.
If all devices are write-behind (because the rest have failed)
it is possible for a read request to be serviced before a
behind-write request, which would appear as data corruption.

So when forced to read from a WriteMostly device, wait for any
write-behind to complete, and don't start any more behind-writes.

Signed-off-by: NeilBrown <neilb@suse.de>
2010-05-18 15:27:57 +10:00
..
2009-12-10 23:52:32 +00:00
2009-12-10 23:52:22 +00:00
2009-12-10 23:52:13 +00:00
2007-10-20 02:01:26 +01:00
2009-03-31 14:57:37 +11:00