tag | d1e88133a22f58f9a139002363b77dd3e26077e4 | |
---|---|---|
tagger | David Howells <dhowells@redhat.com> | Fri Jan 21 21:37:09 2022 +0000 |
object | cef0223191452b3c493a1070baad9ffe806babac |
fscache fixes
commit | cef0223191452b3c493a1070baad9ffe806babac | [log] [tgz] |
---|---|---|
author | Jeffle Xu <jefflexu@linux.alibaba.com> | Tue Dec 28 20:44:19 2021 +0800 |
committer | David Howells <dhowells@redhat.com> | Fri Jan 21 21:36:28 2022 +0000 |
tree | 9b9564268738c32273f3654c1a2364cc04dc21e5 | |
parent | c522e3ad296b7b692ed3960dfde467f2a34b434f [diff] |
netfs: Make ops->init_rreq() optional Make the ops->init_rreq() callback optional. This isn't required for the erofs changes I'm implementing to do on-demand read through fscache[1]. Further, ceph has an empty init_rreq method that can then be removed and it's marked optional in the documentation. Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com> Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: linux-cachefs@redhat.com Link: https://lore.kernel.org/r/20211227125444.21187-1-jefflexu@linux.alibaba.com/ [1] Link: https://lore.kernel.org/r/20211228124419.103020-1-jefflexu@linux.alibaba.com Link: https://lore.kernel.org/r/164251410387.3435901.2504600788262093313.stgit@warthog.procyon.org.uk/ # v1