Searched hist:ec00b5e29ce3a2493616a03b56593690574a8c86 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/erofs/ |
H A D | fscache.c | diff ec00b5e29ce3a2493616a03b56593690574a8c86 Mon Apr 25 07:21:36 CDT 2022 Jeffle Xu <jefflexu@linux.alibaba.com> 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>
|