summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeffle Xu <jefflexu@linux.alibaba.com>2022-04-25 15:21:36 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2022-05-17 19:11:19 +0300
commitec00b5e29ce3a2493616a03b56593690574a8c86 (patch)
treeb69cfcc30f824b30cc21f65ddf51b027cead227a /tools
parent3c265d7dcefab21a58ca5454c0f778412bde0870 (diff)
downloadlinux-ec00b5e29ce3a2493616a03b56593690574a8c86.tar.xz
erofs: add erofs_fscache_read_folios() helper
Add erofs_fscache_read_folios() helper reading from fscache. It supports on-demand read semantics. That is, it will make the backend prepare for the data when cache miss. Once data ready, it will read from the cache. This helper can then be used to implement .readpage()/.readahead() of on-demand read semantics. Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20220425122143.56815-15-jefflexu@linux.alibaba.com Acked-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions