Allow setting start point for requested check/repair
authorNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:24 +0000 (08:31 +1000)
committerNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:24 +0000 (08:31 +1000)
commit5e96ee65c8bd629ce093da67a066d3946468298a
treee1ff9e4984d71ffaa842e7e1d19c282fa9e01bcd
parenta0da84f35b25875870270d16b6eccda4884d61a7
Allow setting start point for requested check/repair

This makes it possible to just resync a small part of an array.
e.g. if a drive reports that it has questionable sectors,
a 'repair' of just the region covering those sectors will
cause them to be read and, if there is an error, re-written
with correct data.

Signed-off-by: Neil Brown <neilb@suse.de>
drivers/md/md.c
include/linux/raid/md_k.h