Re: [patch] raid1: allow user to force reads from a specific disk

From: Pavel Machek
Date: Thu Aug 17 2006 - 11:02:46 EST


Hi!

> Allow user to force raid1 to read all data from a given disk.
> This lets users do integrity checking by comparing results
> from reading different disks. If at any time the system finds
> it cannot read from the given disk it resets the disk number
> to -1, the default, which means to balance reads.
>
> Signed-off-by: Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx>

Using /sysfs as an interface... so that two utilities checking disk
integrity will interfere with each other and integrity check will
interfere with normal work. Perhaps ioctl/fcntl and per-fd status is
would be right thing to do?

--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/