Re: [f2fs-dev] [PATCH 1/2] fsck.f2fs: fix meta readahead after non-contiguous blocks

Chao Yu via Linux-f2fs-devel <[email protected]> Mon, 3 Aug 2026 12:34:56 +0800
Newsgroups net.sourceforge.lists.linux-f2fs-devel
Message-ID <[email protected]>
On 7/1/26 17:28, Yangyang Zang wrote:
> When the current block is not contiguous with the in-progress readahead
> range, f2fs_ra_meta_pages() issues the pending range but keeps the old
> start block and length.
> 
> As a result, the current block is not included in any readahead range,
> and subsequent non-contiguous blocks keep reissuing the stale range
> instead of starting a new one.
> 
> Reset start_blk and len after issuing the pending range so readahead can
> continue from the current block.
> 
> Signed-off-by: Yangyang Zang <[email protected]>

Reviewed-by: Chao Yu <[email protected]>

Thanks,


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel