Home
last modified time | relevance | path

Searched hist:"4706 b349" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Draid1.c4706b349 Thu Feb 05 22:06:47 CST 2009 NeilBrown <neilb@suse.de> 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>
4706b349 Thu Feb 05 22:06:47 CST 2009 NeilBrown <neilb@suse.de> 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>