diff options
| author | Naohiro Aota <[email protected]> | 2021-08-19 21:19:12 +0900 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2021-10-26 19:07:59 +0200 |
| commit | 5daaf552d18263adbdf385ce5c32da8277f8de02 (patch) | |
| tree | 7d7a8210aef586061b536d8ae5e9b33909c1e926 /tools/perf/scripts/python/flamegraph.py | |
| parent | d8da0e85673a9512b2eb11cdeabc7523b3a46ce2 (diff) | |
btrfs: zoned: consider zone as full when no more SB can be written
We cannot write beyond zone capacity. So, we should consider a zone as
"full" when the write pointer goes beyond capacity - the size of super
info.
Also, take this opportunity to replace a subtle duplicated code with a loop
and fix a typo in comment.
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