]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
[PATCH] md/raid1: clear bitmap when fullsync completes
authorNeilBrown <neilb@cse.unsw.edu.au>
Fri, 15 Jul 2005 10:56:35 +0000 (03:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 15 Jul 2005 16:54:51 +0000 (09:54 -0700)
commit6a806c510de490318846b53bbfec463d02ca274b
tree7018abfd9db7856708bc2c578f48c30eab8855b1
parenta1287ba1ba810aae1f8b81e32560d5d3bf3ff9f0
[PATCH] md/raid1: clear bitmap when fullsync completes

We need to be careful differentiating between a resync of a complete array,
in which we can clear the bitmap, and a resync of a degraded array, in
which we cannot.

This patch cleans all that up.

Cc: Paul Clements <paul.clements@steeleye.com>
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
drivers/md/raid1.c
include/linux/raid/bitmap.h