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)
commit472262f35a6b3407e761b700d74c53530e5f144d
tree56165ccfa9fe72a9b0e2d455fe023300c0a4b434
parent29a8d9a0bce6a5abac1f313400c2e189e8d10e67
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
This page took 0.02534 seconds and 5 git commands to generate.