commit | 220946c9018de74b952446e3a4dff1bfd4cbf310 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Jan 06 00:20:27 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jan 06 08:34:04 2006 -0800 |
tree | 8a6a85f23ff3e12ed9c770eb9f2b835125ad5378 | |
parent | d11c171e636cfd2df818cf3411d88222c2f4fcef [diff] |
[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>