linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Convert nfs_readpages() to nfs_readahead()
@ 2021-10-07 23:32 Dave Wysochanski
  2021-10-07 23:32 ` [PATCH 1/1] NFS: Convert from readpages() to readahead() Dave Wysochanski
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Wysochanski @ 2021-10-07 23:32 UTC (permalink / raw)
  To: Trond Myklebust, Anna Schumaker
  Cc: Matthew Wilcox, David Howells, Chuck Lever, linux-cachefs,
	linux-nfs

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(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-15 20:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-07 23:32 [PATCH 0/1] Convert nfs_readpages() to nfs_readahead() Dave Wysochanski
2021-10-07 23:32 ` [PATCH 1/1] NFS: Convert from readpages() to readahead() Dave Wysochanski
2021-10-08 14:09   ` Chuck Lever III
2021-10-09 12:35     ` David Wysochanski
2021-10-09 13:42       ` David Wysochanski
2021-10-15  7:42     ` Trond Myklebust
2021-10-15 20:18       ` Chuck Lever III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).