Re: [PATCH v4 3/4] f2fs: add parameter @len to f2fs_invalidate_blocks()

From: Chao Yu
Date: Mon Jan 13 2025 - 08:50:04 EST


On 2024/12/23 16:10, Yi Sun wrote:
New function can process some consecutive blocks at a time.

Function f2fs_invalidate_blocks()->down_write() and up_write()
are very time-consuming, so if f2fs_invalidate_blocks() can
process consecutive blocks at one time, it will save a lot of time.

Signed-off-by: Yi Sun <yi.sun@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,