]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md: make manual repair work for raid1
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:38 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:39 +0000 (07:56 -0800)
commite5de485f00d6e6c15f487869faaf999c708f69b1
tree16e7648ba0ebf602597a6a0973813d606f749bde
parentf637b9f9fc195e4f4635faf495fd8b462c21b411
[PATCH] md: make manual repair work for raid1

Raid1 currently optimises resync using the intent bitmap etc.  This
optimisation is not wanted when we explicitly request a repair through sysfs,
so add appropriate checks.

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