All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Convert nfs_readpages() to nfs_readahead()
@ 2021-10-09 12:36 Dave Wysochanski
  2021-10-09 12:36 ` [PATCH v2 1/1] NFS: Convert from readpages() to readahead() Dave Wysochanski
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Wysochanski @ 2021-10-09 12:36 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 as follows:
0. Start with trond's testing branch at
0abb8895b065 NFS: Fix an Oops in pnfs_mark_request_commit()
1. Apply David Howells v3 of "fscache: Replace and remove old I/O API" [1]
2. Apply my fscache patches v2 of "Various NFS fscache cleanups" [2]
3. Apply Chucks v3 of "NFS: Replace dprintk callsites in nfs_readpage(s)"
plus one fixup (remove the "read_complete:" label in last hunk, which
conflicts with #2) [3]
4. Apply this patch

So far the existing BakeAThon tests have gone well with no oops or any
failure differences in xfstests (generic) between 5.15.0-rc4 and kernel
with #2 and #3 above.  I will continue testing now with all patches as
described above (#1 - #5).

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.

I also just posted a v2 of the nfs-utils patch to display a "VFS readahead"
count rather than a readpages count [4].

[1] https://marc.info/?l=linux-nfs&m=163363955619832&w=2
[2] https://marc.info/?l=linux-nfs&m=163364580324243&w=2
[3] https://marc.info/?l=linux-nfs&m=163370503223875&w=2
[4] https://marc.info/?l=linux-nfs&m=163378240328297&w=2

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

 fs/nfs/file.c              |  2 +-
 fs/nfs/read.c              | 18 +++++++++++++-----
 include/linux/nfs_fs.h     |  3 +--
 include/linux/nfs_iostat.h |  6 +++---
 4 files changed, 18 insertions(+), 11 deletions(-)

-- 
1.8.3.1


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-09 12:36 [PATCH v2 0/1] Convert nfs_readpages() to nfs_readahead() Dave Wysochanski
2021-10-09 12:36 ` [PATCH v2 1/1] NFS: Convert from readpages() to readahead() Dave Wysochanski
2021-10-20 19:26   ` Trond Myklebust
2021-10-20 19:53     ` David Wysochanski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.