summaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-09-09 13:49:46 +1000
committerNeilBrown <neilb@suse.de>2014-09-22 10:26:41 +1000
commitc6d119cf1b5a778e9ed60a006e2a434fcc4471a2 (patch)
tree78b0d77bf219226141bffe4be2a868aec0bbf6e3 /drivers/md/multipath.c
parentf0cc9a057151892b885be21a1d19b0185568281d (diff)
downloadtalos-obmc-linux-c6d119cf1b5a778e9ed60a006e2a434fcc4471a2.tar.gz
talos-obmc-linux-c6d119cf1b5a778e9ed60a006e2a434fcc4471a2.zip
md/raid1: be more cautious where we read-balance during resync.
commit 79ef3a8aa1cb1523cc231c9a90a278333c21f761 made it possible for reads to happen concurrently with resync. This means that we need to be more careful where read_balancing is allowed during resync - we can no longer be sure that any resync that has already started will definitely finish. So keep read_balancing to before recovery_cp, which is conservative but safe. This bug makes it possible to read from a device that doesn't have up-to-date data, so it can cause data corruption. So it is suitable for any kernel since 3.11. Fixes: 79ef3a8aa1cb1523cc231c9a90a278333c21f761 cc: stable@vger.kernel.org (v3.13+) Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/multipath.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud