diff options
author | 2021-02-04 19:21:56 +0900 | |
---|---|---|
committer | 2021-02-09 02:46:04 +0100 | |
commit | dcba6e48b518e5e48522e9ea2b73b60827c93146 (patch) | |
tree | c792078c2e5abb52dc23f73fd302f57d033ea106 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: zoned: advance allocation pointer after tree log node (diff) | |
download | wireguard-linux-dcba6e48b518e5e48522e9ea2b73b60827c93146.tar.xz wireguard-linux-dcba6e48b518e5e48522e9ea2b73b60827c93146.zip |
btrfs: zoned: reset zones of unused block groups
We must reset the zones of a deleted unused block group to rewind the
zones' write pointers to the zones' start.
To do this, we can use the DISCARD_SYNC code to do the reset when the
filesystem is running on zoned devices.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions