diff options
author | 2024-01-25 14:10:30 -0800 | |
---|---|---|
committer | 2024-07-11 15:33:27 +0200 | |
commit | 243192b6764990e7fa0e22ea65b4d12f3294471c (patch) | |
tree | 38098f9b81ec4cb868f993b165c8849dab006fe1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: qgroup: warn about inconsistent qgroups when relation update fails (diff) | |
download | wireguard-linux-243192b6764990e7fa0e22ea65b4d12f3294471c.tar.xz wireguard-linux-243192b6764990e7fa0e22ea65b4d12f3294471c.zip |
btrfs: report reclaim stats in sysfs
When evaluating various reclaim strategies/thresholds against each
other, it is useful to collect data about the amount of reclaim
happening. Expose a count, error count, and byte count via sysfs
per space_info.
Note that this is only for automatic reclaim, not manually invoked
balances or other codepaths that use "relocate_block_group"
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Boris Burkov <boris@bur.io>
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