]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Makefile
RAID-6 check standalone md device
authorPiergiorgio Sartor <piergiorgio.sartor@nexgo.de>
Mon, 4 Apr 2011 22:56:41 +0000 (08:56 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 4 Apr 2011 22:56:41 +0000 (08:56 +1000)
commita9c2c6c697d2d3d01e1b6d1930ca971abceed5f7
treed921fd2086bc9abc887d13088efe5e191b026bfd
parent78c0a3b17fcf6972bfcd10f02a5f4520117281d0
RAID-6 check standalone md device

Allow RAID-6 check to be passed only the
MD device, start and length.
The three parameters are mandatory.

All necessary information is collected using
the "sysfs_read()" call.
Furthermore, if "length" is "0", then the check
is performed until the end of the array.

Some checks are done, for example if the md device
is really a RAID-6. Nevertheless I guess it is not
bullet proof...

Next patch will include the "suspend" action.
My idea is to do it "per stripe", please let me
know if you've some better options.

Signed-off-by: NeilBrown <neilb@suse.de>
Makefile
raid6check.c