]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: allow repair code to include target disk when searching mirrors
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 6 Nov 2012 14:06:47 +0000 (15:06 +0100)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:45 +0000 (17:15 -0500)
commitf24ac8ef2f5988312027b0dc6e2a0e0b6884a256
treeb93b0d1bbf9e0d0c24f12a843f9ba699aa44ecd5
parenta55a5fd7ab9cb2d7d0527296e4abfc18ad474f3e
Btrfs: allow repair code to include target disk when searching mirrors

Make the target disk of a running device replace operation
available for reading. This is only used as a last ressort for
the defect repair procedure. And it is dependent on the location
of the data block to read, because during an ongoing device
replace operation, the target drive is only partially filled
with the filesystem data.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/volumes.c