summaryrefslogtreecommitdiff
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2018-03-02 16:10:41 -0700
committerDavid Sterba <dsterba@suse.com>2018-03-26 15:09:43 +0200
commit4759700a71ab109c67376360e9f00e2fed6b3807 (patch)
tree206e7dcaba8efee859c5c87ca952b7ee10fdbb1d /fs/btrfs/btrfs_inode.h
parentd6a691350b5d5381fad04a6dbf31bb6f393089b5 (diff)
Btrfs: dev-replace: make sure target is identical to source when raid56 rebuild fails
In the last step of scrub_handle_error_block, we try to combine good copies on all possible mirrors, this works fine for raid1 and raid10, but not for raid56 as it's doing parity rebuild. If parity rebuild doesn't get back with correct data which matches its checksum, in case of replace we'd rather write what is stored in the source device than the data calculuated from parity. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions