diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 00:20:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:34:04 -0800 |
commit | 220946c9018de74b952446e3a4dff1bfd4cbf310 (patch) | |
tree | 8a6a85f23ff3e12ed9c770eb9f2b835125ad5378 /include/linux/raid/raid5.h | |
parent | d11c171e636cfd2df818cf3411d88222c2f4fcef (diff) | |
download | blackbird-op-linux-220946c9018de74b952446e3a4dff1bfd4cbf310.tar.gz blackbird-op-linux-220946c9018de74b952446e3a4dff1bfd4cbf310.zip |
[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>
Diffstat (limited to 'include/linux/raid/raid5.h')
0 files changed, 0 insertions, 0 deletions