Re: [f2fs-dev] [PATCH v2] f2fs: Run f2fs_write_end_io() asynchronously

Chao Yu via Linux-f2fs-devel <[email protected]> Tue, 4 Aug 2026 08:05:21 +0800
Newsgroups net.sourceforge.lists.linux-f2fs-devel
Message-ID <[email protected]>
On 8/4/26 00:52, Bart Van Assche wrote:
> The bio_for_each_segment_all() loop can take more than 10 ms for a large
> bio on an ARM little core. This is too much for interrupt context. Hence
> perform the write bio completion work asynchronously if a bio is large and
> if f2fs_write_end_io() is called from atomic context. This patch reduces
> the time spent in f2fs_write_end_io() from about 10 ms to about 150
> microseconds on an Arm Cortex-A520 core if the max_atc_write_bio_size
> parameter is changed to 16384.
> 
> Signed-off-by: Bart Van Assche <[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