summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2023-06-28 11:11:15 +0300
committerDavid Sterba <dsterba@suse.com>2023-08-21 15:52:12 +0300
commit3a3c7a7f6506338bcc4ebe6c5a2cbfec016ce50c (patch)
treefd1a57eb883070583899566c4af687c2e17c80f1 /fs/btrfs/dev-replace.c
parented3764f726b24099396734aa1a5b41ae7e0fac60 (diff)
downloadlinux-3a3c7a7f6506338bcc4ebe6c5a2cbfec016ce50c.tar.xz
btrfs: raid56: remove unused BTRFS_RBIO_REBUILD_MISSING
Commit aca43fe839e4 ("btrfs: remove unused raid56 functions which were dedicated for scrub") removed the special handling of RAID56 scrub for missing device. As scrub goes full mirror_num based recovery, that means if it hits a missing device in RAID56, it would just try the next mirror, which would go through the BTRFS_RBIO_READ_REBUILD operation. This means there is no longer any use of BTRFS_RBIO_REBUILD_MISSING operation and we can safely remove it. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions