[PATCH] md: Don't clear bits in bitmap when writing to one device fails during recovery
authorNeilBrown <neilb@suse.de>
Fri, 31 Mar 2006 10:31:57 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:19:01 +0000 (12:19 -0800)
commit6b1117d50543e2484bee037ec2589fe52492a7e7
tree6291a97424ebcc336bb49b00ec13576df76aa447
parent39451a73a2d190763ba8a98f486cf23d63d22582
[PATCH] md: Don't clear bits in bitmap when writing to one device fails during recovery

Currently a device failure during recovery leaves bits set in the bitmap.
This normally isn't a problem as the offending device will be rejected because
of errors.  However if device re-adding is being used with non-persistent
bitmaps, this can be a problem.

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