aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-03-31 11:21:44 +1100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-13 13:20:25 -0700
commit8c2b26e45cca45298627428a0bc8bf8a6423d9d1 (patch)
tree160dd35f77f9d4b14a3320de229b577befa9fc7a /scripts/patch-kernel
parent0c5210f73e4a4d2d63e0f94b204bea531b56c529 (diff)
md/raid1: delay reads that could overtake behind-writes.
commit e555190d82c0f58e825e3cbd9e6ebe2e7ac713bd upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions