diff options
| author | Naohiro Aota <[email protected]> | 2021-08-19 21:19:13 +0900 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2021-10-26 19:07:59 +0200 |
| commit | 9658b72ef300b5002358162218146230f5b72b99 (patch) | |
| tree | 225f100181fcc5030c273a787cc660ed129903f5 /tools/perf/scripts/python/flamegraph.py | |
| parent | 5daaf552d18263adbdf385ce5c32da8277f8de02 (diff) | |
btrfs: zoned: locate superblock position using zone capacity
sb_write_pointer() returns the write position of next superblock. For READ,
we need a previous location. When the pointer is at the head, the previous
one is the last one of the other zone. Calculate the last one's position
from zone capacity.
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