[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c1b1bac3-38f1-40f0-bfde-dfaf462459b5@kernel.org>
Date: Thu, 16 Jan 2025 18:47:49 +0800
From: Chao Yu <chao@...nel.org>
To: Yi Sun <yi.sun@...soc.com>, jaegeuk@...nel.org
Cc: chao@...nel.org, linux-f2fs-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, Hao_hao.Wang@...soc.com, Ke.Wang@...soc.com,
zhiguo.niu@...soc.com
Subject: Re: [PATCH v5] f2fs: Optimize f2fs_truncate_data_blocks_range()
On 1/15/25 13:39, Yi Sun wrote:
> 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@...soc.com>
Reviewed-by: Chao Yu <chao@...nel.org>
Thanks,
Powered by blists - more mailing lists