diff options
author | Jingbo Xu <[email protected]> | 2022-11-24 11:42:11 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2022-12-07 10:56:29 +0800 |
commit | 8669247524c73e16e4d3384c4ff882e5c5d06194 (patch) | |
tree | 5229c6304c4f89b9ea2def556b1ae2a6a2eb51cb /scripts/generate_rust_analyzer.py | |
parent | 1282dea37b09087b8aec59f0774572c16b52276a (diff) |
fscache,cachefiles: add prepare_ondemand_read() callback
Add prepare_ondemand_read() callback dedicated for the on-demand read
scenario, so that callers from this scenario can be decoupled from
netfs_io_subrequest.
The original cachefiles_prepare_read() is now refactored to a generic
routine accepting a parameter list instead of netfs_io_subrequest.
There's no logic change, except that the debug id of subrequest and
request is removed from trace_cachefiles_prep_read().
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Jingbo Xu <[email protected]>
Acked-by: David Howells <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions