summaryrefslogtreecommitdiffstats
path: root/drivers/md/linear.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-02-06 15:06:47 +1100
committerNeilBrown <neilb@suse.de>2009-02-06 15:06:47 +1100
commit4706b349f4a8312d31b3d0cf61fe721699356920 (patch)
tree86c0ee896722e45e324a97b704c0419fbb968d4a /drivers/md/linear.c
parenteda58a85ec3fc05855a26654d97a2b53f0e715b9 (diff)
downloadtalos-obmc-linux-4706b349f4a8312d31b3d0cf61fe721699356920.tar.gz
talos-obmc-linux-4706b349f4a8312d31b3d0cf61fe721699356920.zip
md: Allow read error in a single drive raid1 to be passed up.
If a raid1 only has a single working device and gets a read error, we choose to simply return that error up to the filesystem (or whatever) rather than failing the whole array. However the codes doesn't quite do that. We attempt a readbalance which allocates the same drive, so we retry the read - indefinitely. Instead: If read_balance in the error case chooses the same drive that just failed, treat it as a failure and don't retry. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/linear.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud