]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: changes to live filesystem are also written to replacement disk
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 6 Nov 2012 13:43:46 +0000 (14:43 +0100)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:43 +0000 (17:15 -0500)
commit46aa314c6c9d5910b88763dcd0228ac71781d047
tree56165ccfa9fe72a9b0e2d455fe023300c0a4b434
parent8641da22e62ec77f0fbeed52aaff2e7c8e0199e3
Btrfs: changes to live filesystem are also written to replacement disk

During a running dev replace operation, all write requests to
the live filesystem are duplicated to also write to the target
drive. Therefore btrfs_map_block() is changed to duplicate
stripes that are written to the source disk of a device replace
procedure to be written to the target disk as well.

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