mbox series

[0/1] Convert nfs_readpages() to nfs_readahead()

Message ID 1633649528-1321-1-git-send-email-dwysocha@redhat.com (mailing list archive)
Headers show
Series Convert nfs_readpages() to nfs_readahead() | expand

Message

David Wysochanski Oct. 7, 2021, 11:32 p.m. UTC
This patch converts nfs_readpages() to nfs_readahead().  It was
applied on top of the set I just posted [1] plus Chuck's v1 patch to
convert dfprintks to tracepoints [2].  It is being tested on top of
these patches at BakeAThon against various servers, cthon, xfstests,
and my fscache unit tests.  Note that Chuck may post a v3 of his
patch and this would need rebased on that patch.

Note that a nfs-utils patch will need to be done to properly account
for the changed NFSIOS_* counters.

I would consider this a "nice to have" for this cycle but I wanted
to get it out there sooner than later.  As far as I know this has
been an outstanding item for the NFS client for a while and the
fscache fallback IO API clears the way for this patch.

[1] https://marc.info/?l=linux-nfs&m=163364580324243&w=2
[2] https://marc.info/?l=linux-nfs&m=163345402812426&w=2


Dave Wysochanski (1):
  NFS: Convert from readpages() to readahead()

 fs/nfs/file.c              |  2 +-
 fs/nfs/nfstrace.h          |  2 +-
 fs/nfs/read.c              | 21 +++++++++++++++------
 include/linux/nfs_fs.h     |  3 +--
 include/linux/nfs_iostat.h |  6 +++---
 5 files changed, 21 insertions(+), 13 deletions(-)