diff options
author | Xin Yin <[email protected]> | 2022-05-09 15:40:28 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2022-05-18 00:11:21 +0800 |
commit | d435d53228dd039fffecae123b8c138af6f96f99 (patch) | |
tree | 133a4241c76699afef1fbc22e6689022a757e7dd /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 9c0cc9c729657446ed001a99488a9d82f5124af4 (diff) |
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 <[email protected]>
Reviewed-by: Jeffle Xu <[email protected]>
Signed-off-by: Jeffle Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Chao Yu <[email protected]>
[ Gao Xiang: minor styling changes. ]
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