Home
last modified time | relevance | path

Searched hist:"220946 c9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Draid1.c220946c9 Fri Jan 06 02:20:27 CST 2006 NeilBrown <neilb@suse.de> [PATCH] md: make sure read error on last working drive of raid1 actually returns failure

We are inadvertently setting the R1BIO_Uptodate bit on read errors when we
decide not to try correcting (because there are no other working devices).
This means that the read error is reported to the client as success.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
220946c9 Fri Jan 06 02:20:27 CST 2006 NeilBrown <neilb@suse.de> [PATCH] md: make sure read error on last working drive of raid1 actually returns failure

We are inadvertently setting the R1BIO_Uptodate bit on read errors when we
decide not to try correcting (because there are no other working devices).
This means that the read error is reported to the client as success.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>