diff options
author | Yi Sun <yi.sun@unisoc.com> | 2025-01-15 08:39:43 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-01-16 20:27:29 +0300 |
commit | 120ac1dc322f402544423582234f441d98ea4a6e (patch) | |
tree | 4da8a070080bf354405cd33dba168c0781cec794 /scripts/gdb/linux/utils.py | |
parent | c84c2424932d18cf3888adfe9bd16f95dc5d9fd4 (diff) | |
download | linux-120ac1dc322f402544423582234f441d98ea4a6e.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions