diff options
| author | 2022-07-09 08:18:46 +0900 | |
|---|---|---|
| committer | 2022-07-25 17:45:42 +0200 | |
| commit | 79417d040f4f77b19c701bccc23013b9cdac358d (patch) | |
| tree | f2ce47792e73a7492adb24f7ed71275bb1518c42 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | btrfs: zoned: introduce space_info->active_total_bytes (diff) | |
| download | linux-dev-79417d040f4f77b19c701bccc23013b9cdac358d.tar.xz linux-dev-79417d040f4f77b19c701bccc23013b9cdac358d.zip | |
btrfs: zoned: disable metadata overcommit for zoned
The metadata overcommit makes the space reservation flexible but it is also
harmful to active zone tracking. Since we cannot finish a block group from
the metadata allocation context, we might not activate a new block group
and might not be able to actually write out the overcommit reservations.
So, disable metadata overcommit for zoned filesystems. We will ensure
the reservations are under active_total_bytes in the following patches.
CC: stable@vger.kernel.org # 5.16+
Fixes: afba2bc036b0 ("btrfs: zoned: implement active zone tracking")
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
