diff options
| author | Naohiro Aota <[email protected]> | 2021-08-19 21:19:10 +0900 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2021-10-26 19:07:58 +0200 |
| commit | 98173255bddd24cb7d50b5da936f8dff76f5a732 (patch) | |
| tree | 43219dba06bb13edcbfbb9aa3904760ebefbeb04 /tools/perf/scripts/python/flamegraph.py | |
| parent | c46c4247ab046b11806cdb10e04395c2f2cd1e41 (diff) | |
btrfs: zoned: calculate free space from zone capacity
Now that we introduced capacity in a block group, we need to calculate free
space using the capacity instead of the length. Thus, bytes we account
capacity - alloc_pointer as free, and account bytes [capacity, length] as
zone unusable.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions