Skip to content

Remove svc_rqst :: rq_vec

[email protected] linux-nfs 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v14 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6NFSD: Use rqstp->rq_bvec in nfsd_iter_read()fs/nfsd/vfs.c+6 -60 replies
2/6SUNRPC: Export xdr_buf_to_bvec()net/sunrpc/xdr.c+1 -00 replies
3/6NFSD: De-duplicate the svc_fill_write_vector() call sitesfs/nfsd/nfs3proc.c fs/nfsd/nfs4proc.c fs/nfsd/nfsproc.c +2 more+51 -330 replies
4/6NFSD: Use rqstp->rq_bvec in nfsd_iter_write()fs/nfsd/vfs.c net/sunrpc/svc.c+16 -120 replies
5/6SUNRPC: Remove svc_fill_write_vector()include/linux/sunrpc/svc.h net/sunrpc/svc.c+0 -450 replies
6/6SUNRPC: Remove svc_rqst :: rq_vecinclude/linux/sunrpc/svc.h net/sunrpc/svc.c+0 -70 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/6R-b
2/6
3/6
4/6
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] Remove svc_rqst :: rq_vec

From: Chuck Lever <[email protected]>

I expect this arrangement will not be permanent: the end-goal might be folio queues rather than bio_vecs.

I intend to insert these into the series that expands the maximum r/wsize, once this series is reviewed.

Testing has shown no correctness issues. There is a consistent and measurable performance loss on NFSv4.1 with the write path changes. I've mitigated it somewhat in this version of the series, but I still do not understand why it happens (it also happened when the series used svc_fill_write_vector()).

Chuck Lever (6):
NFSD: Use rqstp->rq_bvec in nfsd_iter_read()
SUNRPC: Export xdr_buf_to_bvec()
NFSD: De-duplicate the svc_fill_write_vector() call sites
NFSD: Use rqstp->rq_bvec in nfsd_iter_write()
SUNRPC: Remove svc_fill_write_vector()
SUNRPC: Remove svc_rqst :: rq_vec

 fs/nfsd/nfs3proc.c         |  5 +--
 fs/nfsd/nfs4proc.c         |  8 ++---
 fs/nfsd/nfsproc.c          |  9 ++----
 fs/nfsd/vfs.c              | 65 +++++++++++++++++++++++++++-----------
 fs/nfsd/vfs.h              | 10 +++---
 include/linux/sunrpc/svc.h |  3 --
 net/sunrpc/svc.c           | 46 ---------------------------
 net/sunrpc/xdr.c           |  1 +
 8 files changed, 59 insertions(+), 88 deletions(-)
Signature · 1 line
2.49.0