md/raid5: suspend shouldn't affect read requests.
commit5de149123be72b438c5651ac8ca53223ca05a714
authorNeilBrown <neilb@suse.de>
Wed, 1 Jul 2009 03:15:35 +0000 (1 13:15 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jul 2009 03:38:52 +0000 (19 20:38 -0700)
treed0ab70a07e76d0fca1692ba7fecf6ebc44979f07
parent6891897d22e3df3417f451f5fb921cb9562539e7
md/raid5: suspend shouldn't affect read requests.

commit a5c308d4d1659b1f4833b863394e3e24cdbdfc6e upstream.

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.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/raid5.c