]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02011555603b4ad68776188d642b1164cfdbae87
treee1ff9e4984d71ffaa842e7e1d19c282fa9e01bcd
parent12ad6481d5b11246fd1488de9b9928cfae17f8b6
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