summaryrefslogtreecommitdiff
path: root/fs/erofs/super.c
diff options
context:
space:
mode:
authorXin Yin <yinxin.x@bytedance.com>2022-05-09 10:40:28 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2022-05-17 19:11:21 +0300
commitd435d53228dd039fffecae123b8c138af6f96f99 (patch)
tree133a4241c76699afef1fbc22e6689022a757e7dd /fs/erofs/super.c
parent9c0cc9c729657446ed001a99488a9d82f5124af4 (diff)
downloadlinux-d435d53228dd039fffecae123b8c138af6f96f99.tar.xz
erofs: change to use asynchronous io for fscache readpage/readahead
Use asynchronous io to read data from fscache may greatly improve IO bandwidth for sequential buffered read scenario. Change erofs_fscache_read_folios to erofs_fscache_read_folios_async, and read data from fscache asynchronously. Make .readpage()/.readahead() to use this new helper. Signed-off-by: Xin Yin <yinxin.x@bytedance.com> Reviewed-by: Jeffle Xu <jefflexu@linux.alibaba.com> Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com> Link: https://lore.kernel.org/r/20220509074028.74954-23-jefflexu@linux.alibaba.com Acked-by: Chao Yu <chao@kernel.org> [ Gao Xiang: minor styling changes. ] Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/super.c')
0 files changed, 0 insertions, 0 deletions