[PATCH] md: fix bug where new drives added to an md array sometimes don't sync properly
authorNeilBrown <neilb@suse.de>
Fri, 6 Oct 2006 07:44:04 +0000 (00:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Oct 2006 15:53:41 +0000 (08:53 -0700)
commit5842730de179405d80649231faa0b3f254477434
treeb7597063929ad3e0536d22077bde53b6d5ad13d4
parentec5a19dd935eb3793e1f6ed491e8035b3d7b1df9
[PATCH] md: fix bug where new drives added to an md array sometimes don't sync properly

This fixes a bug introduced in 2.6.18.

If a drive is added to a raid1 using older tools (mdadm-1.x or raidtools)
then it will be included in the array without any resync happening.

It has been submitted for 2.6.18.1.

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c