]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md: make sure read error on last working drive of raid1 actually returns...
authorNeilBrown <neilb@suse.de>
Fri, 6 Jan 2006 08:20:27 +0000 (00:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:34:04 +0000 (08:34 -0800)
commit220946c9018de74b952446e3a4dff1bfd4cbf310
tree8a6a85f23ff3e12ed9c770eb9f2b835125ad5378
parentd11c171e636cfd2df818cf3411d88222c2f4fcef
[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>
drivers/md/raid1.c