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 -- Linux-cachefs mailing list Linux-cachefs@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-cachefs