]> err.no Git - linux-2.6/commit
[PATCH] md: improve handling of bitmap initialisation.
authorNeilBrown <neilb@cse.unsw.edu.au>
Fri, 9 Sep 2005 23:23:44 +0000 (16:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 23:39:09 +0000 (16:39 -0700)
commit6a07997fc34ac15a1c5dc650285d79b7604a2276
tree7b16fb2b399e5f331ff899b21c5213b4bb35ef88
parent1923b99a0f4748aa6be0b9b9523ce224a3449b17
[PATCH] md: improve handling of bitmap initialisation.

When we find a 'stale' bitmap, possibly because it is new, we should just
assume every bit needs to be set, but rather base the setting of bits on the
current state of the array (degraded and recovery_cp).

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/bitmap.c