diff options
author | Yi Sun <yi.sun@unisoc.com> | 2025-01-15 13:39:43 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-01-16 17:27:29 +0000 |
commit | 120ac1dc322f402544423582234f441d98ea4a6e (patch) | |
tree | 4da8a070080bf354405cd33dba168c0781cec794 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c84c2424932d18cf3888adfe9bd16f95dc5d9fd4 (diff) |
f2fs: Optimize f2fs_truncate_data_blocks_range()
Function f2fs_invalidate_blocks() can process consecutive
blocks at a time, so f2fs_truncate_data_blocks_range() is
optimized to use the new functionality of
f2fs_invalidate_blocks().
Add two variables @blkstart and @blklen, @blkstart records
the first address of the consecutive blocks, and @blkstart
records the number of consecutive blocks.
Signed-off-by: Yi Sun <yi.sun@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions