diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-07-26 16:57:01 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-08-21 14:52:17 +0200 |
commit | e50b122b832bed9f36d459f19fd73d00658f5c1e (patch) | |
tree | 2554e01bc96a9f82c538cb5f14d59d1ae34f5915 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b92e8f5472a28e311983f9f47e281e0adf56f10a (diff) |
btrfs: print available space for a block group when dumping a space info
When dumping a space info, we iterate over all its block groups and then
print their size and the amounts of bytes used, reserved, pinned, etc.
When debugging -ENOSPC problems it's also useful to know how much space
is available (free), so calculate that and print it as well.
Signed-off-by: Filipe Manana <fdmanana@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