[PATCH v2] erofs: change to use asyncronous io for fscache readpage/readahead

JeffleXu jefflexu at linux.alibaba.com
Sat May 7 23:08:15 AEST 2022



On 5/7/22 4:31 PM, Xin Yin wrote:
> Use asyncronous io to read data from fscache may greatly improve IO
> bandwidth for sequential buffer read scenario.
> 
> Change erofs_fscache_read_folios to erofs_fscache_read_folios_async,
> and read data from fscache asyncronously. Make .readpage()/.readahead()
> to use this new helper.
> 
> Signed-off-by: Xin Yin <yinxin.x at bytedance.com>
> ---

s/asyncronous/asynchronous/
s/asyncronously/asynchronously/

BTW, "convert to asynchronous readahead" may be more concise?

Apart from that, LGTM

Reviewed-by: Jeffle Xu <jefflexu at linux.alibaba.com>


-- 
Thanks,
Jeffle


More information about the Linux-erofs mailing list