]> err.no Git - linux-2.6/commit
[PATCH] md: teach raid5 the difference between 'check' and 'repair'.
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:26 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:37 +0000 (07:56 -0800)
commit9d88883e68f404d5581bd391713ceef470ea53a9
tree09217a737ca91fb1d105df601741a61e141d4946
parent24dd469d728dae07f40c5d79ea6dedd38cdf1a30
[PATCH] md: teach raid5 the difference between 'check' and 'repair'.

With this, raid5 can be asked to check parity without repairing it.  It also
keeps a count of the number of incorrect parity blocks found (mismatches) and
reports them through sysfs.

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c
drivers/md/raid5.c
include/linux/raid/md_k.h