diff options
author | 2025-01-15 13:39:43 +0800 | |
---|---|---|
committer | 2025-01-16 17:27:29 +0000 | |
commit | 120ac1dc322f402544423582234f441d98ea4a6e (patch) | |
tree | 4da8a070080bf354405cd33dba168c0781cec794 /scripts/generate_rust_analyzer.py | |
parent | f2fs: fix using wrong 'submitted' value in f2fs_write_cache_pages (diff) | |
download | wireguard-linux-120ac1dc322f402544423582234f441d98ea4a6e.tar.xz wireguard-linux-120ac1dc322f402544423582234f441d98ea4a6e.zip |
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/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions