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

From: Neil Brown
Date: Sun Aug 06 2006 - 20:37:17 EST


On Sunday August 6, 76306.1226@xxxxxxxxxxxxxx wrote:
> 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.

Could say a little bit more about why you want this?

You could get nearly the same situation be setting the other drives to
write-mostly.

And the more thorough integrity check is available via
echo check > /sys/block/mdX/md/sync_action

NeilBrown
-
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/