summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/root-tree.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2021-12-02 00:47:14 -0800
committerDavid Sterba <dsterba@suse.com>2021-12-08 15:42:32 +0100
commit5911f5382022aff2b817cb88f276756af229664d (patch)
tree947429bb6bd5a71485eb144e3f2d6f501f97058a /fs/btrfs/root-tree.c
parentda5e817d9d75422eaaa05490d0b9a5e328fc1a51 (diff)
downloadlinux-5911f5382022aff2b817cb88f276756af229664d.tar.gz
linux-5911f5382022aff2b817cb88f276756af229664d.tar.bz2
linux-5911f5382022aff2b817cb88f276756af229664d.zip
btrfs: zoned: clear data relocation bg on zone finish
When finishing a zone that is used by a dedicated data relocation block group, also remove its reference from fs_info, so we're not trying to use a full block group for allocations during data relocation, which will always fail. The result is we're not making any forward progress and end up in a deadlock situation. Fixes: c2707a255623 ("btrfs: zoned: add a dedicated data relocation block group") Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
0 files changed, 0 insertions, 0 deletions