diff options
author | Christoph Hellwig <[email protected]> | 2022-11-28 10:43:45 +0100 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2022-12-08 09:32:13 -0800 |
commit | 8442d94b8ac8d5d8300725a9ffa9def526b71170 (patch) | |
tree | 0be951c721ff9d83a2c59b6b6fdaed528ca20234 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1c8a8ec0a0e9a1176022a35c4daf04fe1594d270 (diff) |
f2fs: open code allocate_segment_by_default
allocate_segment_by_default has just two callers, which use very
different code pathes inside it based on the force paramter. Just
open code the logic in the two callers using a new helper to decided
if a new segment should be allocated.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions