Skip to content

Short NFSD clean-ups

Chuck Lever linux-nfs 1 version New

Get series with b4
b4 am 166301759113.89884.7985359396842428444.stgit@oracle-102.nfsv4.dev

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12SUNRPC: Optimize svc_process()net/sunrpc/svc.c+11 -130 replies
2/12SUNRPC: Parametrize how much of argsize should be zeroedfs/lockd/svc4proc.c fs/lockd/svcproc.c fs/nfs/callback_xdr.c +7 more+101 -10 replies
3/12NFSD: Reduce amount of struct nfsd4_compoundargs that needs clearingfs/nfsd/nfs4proc.c fs/nfsd/nfs4xdr.c+51 -120 replies
4/12SUNRPC: Clarify comment that documents svc_max_payload()net/sunrpc/svc.c+6 -20 replies
5/12NFSD: Refactor common code out of dirlist helpersfs/nfsd/nfs3proc.c fs/nfsd/nfsproc.c include/linux/sunrpc/xdr.h +1 more+26 -180 replies
6/12NFSD: Use xdr_inline_decode() to decode NFSv3 symlinksfs/nfsd/nfs3xdr.c+3 -110 replies
7/12NFSD: Clean up WRITE arg decodersfs/nfsd/nfs3xdr.c fs/nfsd/nfsxdr.c+2 -60 replies
8/12SUNRPC: Fix typo in xdr_buf_subsegment's kdoc commentnet/sunrpc/xdr.c+1 -10 replies
9/12NFSD: Clean up nfs4svc_encode_compoundres()fs/nfsd/nfs4xdr.c+0 -40 replies
10/12NFSD: Remove "inline" directives on op_rsize_bop helpersfs/nfsd/nfs4proc.c fs/nfsd/xdr4.h+77 -470 replies
11/12NFSD: Remove unused nfsd4_compoundargs::cachetype fieldfs/nfsd/xdr4.h+0 -10 replies
12/12NFSD: Pack struct nfsd4_compoundresfs/nfsd/xdr4.h+1 -10 replies

Reviews trailers per patch

4 of 12 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/12
2/12
3/12
4/12
5/12
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12
11/12
12/12

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

Read the v1 thread

Cover letter [PATCH v1 00/12] Short NFSD clean-ups

This is a set of clean-up patches and minor optimizations for NFSD. I happened upon these unrelated changes while addressing recent bugs.

---

Chuck Lever (12):
SUNRPC: Optimize svc_process()
SUNRPC: Parametrize how much of argsize should be zeroed
NFSD: Reduce amount of struct nfsd4_compoundargs that needs clearing
SUNRPC: Clarify comment that documents svc_max_payload()
NFSD: Refactor common code out of dirlist helpers
NFSD: Use xdr_inline_decode() to decode NFSv3 symlinks
NFSD: Clean up WRITE arg decoders
SUNRPC: Fix typo in xdr_buf_subsegment's kdoc comment
NFSD: Clean up nfs4svc_encode_compoundres()
NFSD: Remove "inline" directives on op_rsize_bop helpers
NFSD: Remove unused nfsd4_compoundargs::cachetype field
NFSD: Pack struct nfsd4_compoundres

 fs/lockd/svc4proc.c        |  24 ++++++++
 fs/lockd/svcproc.c         |  24 ++++++++
 fs/nfs/callback_xdr.c      |   1 +
 fs/nfsd/nfs2acl.c          |   5 ++
 fs/nfsd/nfs3acl.c          |   3 +
 fs/nfsd/nfs3proc.c         |  32 +++++++---
 fs/nfsd/nfs3xdr.c          |  18 ++----
 fs/nfsd/nfs4proc.c         | 123 +++++++++++++++++++++++--------------
 fs/nfsd/nfs4xdr.c          |  65 +++++++++++++++-----
 fs/nfsd/nfsproc.c          |  28 ++++++---
 fs/nfsd/nfsxdr.c           |   4 +-
 fs/nfsd/xdr4.h             |   6 +-
 include/linux/sunrpc/svc.h |   1 +
 include/linux/sunrpc/xdr.h |   2 +
 net/sunrpc/svc.c           |  34 +++++-----
 net/sunrpc/xdr.c           |  24 +++++++-
 16 files changed, 278 insertions(+), 116 deletions(-)

--
Chuck Lever