diff options
author | Christoph Hellwig <hch@lst.de> | 2022-11-28 10:43:45 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-12-08 09:32:13 -0800 |
commit | 8442d94b8ac8d5d8300725a9ffa9def526b71170 (patch) | |
tree | 0be951c721ff9d83a2c59b6b6fdaed528ca20234 /tools/perf/scripts/python/export-to-postgresql.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 <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions