md/raid5: suspend shouldn't affect read requests.
authorNeilBrown <neilb@suse.de>
Wed, 1 Jul 2009 03:15:35 +0000 (13:15 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 1 Jul 2009 03:15:35 +0000 (13:15 +1000)
commita5c308d4d1659b1f4833b863394e3e24cdbdfc6e
tree6affde6f3f03c01f651210cc042a07ba70533d03
parent0909dc448c98ed5021c87ffdfc09fb473aa464ab
md/raid5: suspend shouldn't affect read requests.

md allows write to regions on an array to be suspended temporarily.
This allows user-space to participate is aspects of reshape.
In particular, data can be copied with not risk of a race.
We should not be blocking read requests though, so don't.

Cc: stable@kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c