diff options
author | David Howells <[email protected]> | 2022-03-09 21:45:22 +0000 |
---|---|---|
committer | David Howells <[email protected]> | 2022-03-18 09:27:13 +0000 |
commit | a5c9dc4451394b2854493944dcc0ff71af9705a3 (patch) | |
tree | 1885b0868a5b396bd95af13a3304084a2eea7408 /lib/memory-notifier-error-inject.c | |
parent | 2de160417315b8d64455fe03e9bb7d3308ac3281 (diff) |
ceph: Make ceph_init_request() check caps on readahead
Move the caps check from ceph_readahead() to ceph_init_request(),
conditional on the origin being NETFS_READAHEAD so that in a future patch,
ceph can point its ->readahead() vector directly at netfs_readahead().
Changes
=======
ver #4)
- Move the check for NETFS_READAHEAD up in ceph_init_request()[2].
ver #3)
- Split from the patch to add a netfs inode context[1].
- Need to store the caps got in rreq->netfs_priv for later freeing.
Signed-off-by: David Howells <[email protected]>
cc: [email protected]
cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]/ [1]
Link: https://lore.kernel.org/r/[email protected]/ [2]
Link: https://lore.kernel.org/r/164692907694.2099075.10081819855690054094.stgit@warthog.procyon.org.uk/ # v3
Link: https://lore.kernel.org/r/[email protected]/ # v4
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions