NeilBrown
8c2b26e45c
md/raid1: delay reads that could overtake behind-writes.
...
commit e555190d82 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 >
2010-08-13 13:20:25 -07:00
..
2010-08-13 13:20:17 -07:00
2009-09-12 12:01:34 +01:00
2010-08-13 13:19:30 -07:00
2010-08-13 13:19:34 -07:00
2010-08-02 10:21:25 -07:00
2010-08-13 13:20:23 -07:00
2010-08-13 13:19:47 -07:00
2009-09-24 07:21:04 -07:00
2010-08-13 13:19:31 -07:00
2010-07-05 11:11:02 -07:00
2010-02-09 04:50:59 -08:00
2010-08-02 10:21:25 -07:00
2010-05-12 14:57:16 -07:00
2010-02-23 07:37:54 -08:00
2009-09-13 10:27:04 -07:00
2010-02-23 07:37:49 -08:00
2010-08-10 10:20:38 -07:00
2009-06-16 19:50:13 -07:00
2010-07-05 11:11:04 -07:00
2010-01-28 15:01:52 -08:00
2010-03-15 08:49:57 -07:00
2010-08-13 13:19:52 -07:00
2010-07-05 11:10:33 -07:00
2010-08-02 10:20:43 -07:00
2010-05-12 14:57:04 -07:00
2010-08-13 13:19:36 -07:00
2009-09-08 17:30:24 -07:00
2009-10-11 11:20:58 -07:00
2009-11-19 13:16:21 -08:00
2010-08-02 10:20:54 -07:00
2010-08-02 10:20:55 -07:00
2010-04-01 15:58:24 -07:00
2010-04-01 15:58:53 -07:00
2010-01-06 15:05:19 -08:00
2010-03-15 08:49:46 -07:00
2010-08-13 13:20:25 -07:00
2010-08-02 10:21:30 -07:00
2009-09-24 07:21:05 -07:00
2010-04-26 07:41:36 -07:00
2010-01-22 15:18:18 -08:00
2010-08-10 10:20:44 -07:00
2010-08-02 10:20:53 -07:00
2010-02-09 04:50:45 -08:00
2010-08-13 13:19:49 -07:00
2009-10-15 09:58:27 -06:00
2010-07-05 11:10:27 -07:00
2010-08-10 10:20:37 -07:00
2009-09-24 07:21:04 -07:00
2010-08-13 13:19:34 -07:00
2010-01-22 15:18:26 -08:00
2010-08-02 10:21:29 -07:00
2009-09-25 15:09:48 -04:00
2009-09-23 03:49:27 +04:00
2009-11-12 07:26:01 -08:00
2009-09-11 11:28:00 +10:00
2010-02-23 07:37:49 -08:00
2010-08-02 10:20:53 -07:00
2010-08-13 13:20:13 -07:00
2009-09-22 07:17:25 -07:00
2010-08-13 13:20:24 -07:00
2010-08-02 10:20:52 -07:00
2009-10-03 01:16:12 -04:00
2009-08-31 15:15:33 +09:00
2009-12-02 23:58:32 +00:00
2010-08-10 10:20:51 -07:00
2010-08-13 13:19:33 -07:00
2009-07-12 12:22:34 -07:00
2009-11-05 17:33:24 -05:00
2009-11-13 11:36:00 +09:00
2010-08-13 13:19:46 -07:00
2009-10-11 11:20:58 -07:00
2010-08-13 13:19:35 -07:00
2010-08-02 10:20:42 -07:00
2009-09-24 07:21:05 -07:00
2010-05-12 14:57:00 -07:00
2010-04-26 07:41:18 -07:00
2010-08-13 13:19:51 -07:00
2009-06-18 13:04:04 -07:00
2010-05-12 14:57:15 -07:00