[PATCH] dm kcopyd: error accumulation fix
authorJonathan Brassow <jbrassow@redhat.com>
Mon, 26 Jun 2006 07:27:30 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:35 +0000 (09:58 -0700)
commitce503f59ae899c3e75a8a1cf46f2d44c0c5b5c7c
tree7bec805d077c3a7f47f7a1965a1a8020082c5544
parent8a835f11bce68ed990533e49b5dedb00bee46d71
[PATCH] dm kcopyd: error accumulation fix

kcopyd should accumulate errors - otherwise I/O failures may be ignored
unintentionally.

And invert 'success' (used in a future patch), using a more intuitive
!(read_err || write_err).

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-raid1.c
drivers/md/kcopyd.c