diff options
author | Jeffle Xu <[email protected]> | 2022-04-25 20:21:36 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2022-05-18 00:11:19 +0800 |
commit | ec00b5e29ce3a2493616a03b56593690574a8c86 (patch) | |
tree | b69cfcc30f824b30cc21f65ddf51b027cead227a /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 3c265d7dcefab21a58ca5454c0f778412bde0870 (diff) |
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 <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions