]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: update_sit_entry_for_release() supports consecutive blocks.
authorYi Sun <yi.sun@unisoc.com>
Mon, 23 Dec 2024 08:10:42 +0000 (16:10 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 8 Jan 2025 18:31:46 +0000 (18:31 +0000)
commit81ffbd224e5f926bf8df01d6107db9c8779f7d57
treeab51c8a7a0490dc4b8d19e42ff2d7f5a6f7a6a93
parent66baee2b886d72ab6be11a08d4c7897f9612e25b
f2fs: update_sit_entry_for_release() supports consecutive blocks.

This function can process some consecutive blocks at a time.

When using update_sit_entry() to release consecutive blocks,
ensure that the consecutive blocks belong to the same segment.
Because after update_sit_entry_for_realese(), @segno is still
in use in update_sit_entry().

Signed-off-by: Yi Sun <yi.sun@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c