[Linux-cachefs] [PATCH 0/2] netfs: allow fs driver to opt out of readahead
Jeff Layton
jlayton at kernel.org
Thu Aug 26 13:24:41 UTC 2021
These patches refactor a bit of Davids netfs-folio-regions code to allow
the driver to tell the netfs layer not to bother doing any readahead.
The main use-case is the situation where we can't get caps on a
readahead.
Jeff Layton (2):
netfs: refactor arguments for netfs_alloc_read_request
netfs: add a new flag indicating that readahead should not be done
fs/netfs/read_helper.c | 42 +++++++++++++++++++++++++++---------------
include/linux/netfs.h | 2 ++
2 files changed, 29 insertions(+), 15 deletions(-)
--
2.31.1
More information about the Linux-cachefs
mailing list