[PATCH v2] erofs: remove unneeded parameter

Gao Xiang hsiangkao at redhat.com
Thu Sep 17 12:21:10 AEST 2020


On Thu, Sep 17, 2020 at 09:18:21AM +0800, Chao Yu wrote:
> After commit 0615090c5044 ("erofs: convert compressed files from
> readpages to readahead"), add_to_page_cache_lru() was moved to mm
> code, so that in below call path, no page will be cached into
> @pagepool list or grabbed from @pagepool list:
> - z_erofs_readpage
>  - z_erofs_do_read_page
>   - preload_compressed_pages
>   - erofs_allocpage
> 
> Let's get rid of this unneeded @pagepool parameter.
> 
> Signed-off-by: Chao Yu <yuchao0 at huawei.com>

Reviewed-by: Gao Xiang <hsiangkao at redhat.com>

Will apply it later :)

Thanks,
Gao Xiang



More information about the Linux-erofs mailing list