diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2025-06-03 08:14:01 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:56:31 +0200 |
commit | 694ce5e143d67267ad26b04463e790a597500b00 (patch) | |
tree | 11ffe502adee32a0914fa5ea79ac3889a8f2b621 /fs/btrfs/dev-replace.c | |
parent | f1f22dfbea2e834aa81eb8511e2f96583390ef82 (diff) |
btrfs: zoned: reserve data_reloc block group on mount
Create a block group dedicated for data relocation on mount of a zoned
filesystem.
If there is already more than one empty DATA block group on mount, this
one is picked for the data relocation block group, instead of a newly
created one.
This is done to ensure, there is always space for performing garbage
collection and the filesystem is not hitting ENOSPC under heavy overwrite
workloads.
CC: stable@vger.kernel.org # 6.6+
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions