aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2024-02-12 10:59:52 +0000
committerDavid Sterba <[email protected]>2024-02-22 11:14:08 +0000
commit5906333cc4af7b3fdb8cfff1cb3e8e579bd13174 (patch)
tree96b89c3ebec875418f667746baede59e054c2a85 /fs/btrfs/dev-replace.c
parentbtrfs: fix deadlock with fiemap and extent locking (diff)
downloadkernel-5906333cc4af7b3fdb8cfff1cb3e8e579bd13174.tar.gz
kernel-5906333cc4af7b3fdb8cfff1cb3e8e579bd13174.zip
btrfs: zoned: don't skip block group profile checks on conventional zones
On a zoned filesystem with conventional zones, we're skipping the block group profile checks for the conventional zones. This allows converting a zoned filesystem's data block groups to RAID when all of the zones backing the chunk are on conventional zones. But this will lead to problems, once we're trying to allocate chunks backed by sequential zones. So also check for conventional zones when loading a block group's profile on them. Reported-by: HAN Yuwei <[email protected]> Link: https://lore.kernel.org/all/[email protected]/#t Reviewed-by: Boris Burkov <[email protected]> Reviewed-by: Naohiro Aota <[email protected]> Signed-off-by: Johannes Thumshirn <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions