Skip to content

NFS client patches for v5.1 (complete)

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23xprtrdma: Fix sparse warningsnet/sunrpc/xprtrdma/frwr_ops.c net/sunrpc/xprtrdma/xprt_rdma.h+3 -30 replies
2/23xprtrdma: Check inline size before providing a Write chunknet/sunrpc/xprtrdma/rpc_rdma.c+17 -10 replies
3/23xprtrdma: Reduce the doorbell rate (Receive)net/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+12 -00 replies
4/23SUNRPC: Display symbolic flag names in RPC trace eventsinclude/trace/events/sunrpc.h+50 -60 replies
5/23SUNRPC: Add xdr_stream::rqst fieldfs/nfs/callback_xdr.c fs/nfs/flexfilelayout/flexfilelayout.c include/linux/sunrpc/xdr.h +5 more+26 -150 replies
6/23SUNRPC: Add XDR overflow trace eventinclude/trace/events/sunrpc.h net/sunrpc/xdr.c+84 -70 replies
7/23SUNRPC: Add trace event that reports reply page vector alignmentinclude/trace/events/sunrpc.h net/sunrpc/xdr.c+86 -60 replies
8/23NFS: Remove print_overflow_msg()fs/lockd/clnt4xdr.c fs/lockd/clntxdr.c fs/nfs/callback_xdr.c +5 more+219 -6000 replies
9/23NFS: Add trace events to report non-zero NFS status codesfs/nfs/nfs2xdr.c fs/nfs/nfs3xdr.c fs/nfs/nfs4trace.h +3 more+133 -40 replies
10/23SUNRPC: Remove some dprintk() call sites from auth functionsnet/sunrpc/auth.c net/sunrpc/auth_unix.c+1 -370 replies
11/23SUNRPC: Remove rpc_xprt::tsh_sizeinclude/linux/sunrpc/xprt.h net/sunrpc/auth_gss/auth_gss.c net/sunrpc/clnt.c +4 more+65 -580 replies
12/23SUNRPC: Add build option to disable support for insecure enctypesinclude/linux/sunrpc/gss_krb5_enctypes.h net/sunrpc/Kconfig net/sunrpc/auth_gss/gss_krb5_mech.c+59 -10 replies
13/23SUNRPC: Use struct xdr_stream when constructing RPC Call headerinclude/linux/sunrpc/auth.h include/linux/sunrpc/xdr.h include/trace/events/sunrpc.h +5 more+266 -1810 replies
14/23SUNRPC: Clean up rpc_verify_header()include/linux/sunrpc/xdr.h include/trace/events/sunrpc.h net/sunrpc/clnt.c+154 -1280 replies
15/23SUNRPC: Use struct xdr_stream when decoding RPC Reply headerinclude/linux/sunrpc/auth.h include/linux/sunrpc/xdr.h net/sunrpc/auth.c +4 more+243 -2010 replies
16/23SUNRPC: Introduce trace points in rpc_auth_gss.koinclude/trace/events/rpcgss.h include/trace/events/rpcrdma.h include/trace/events/sunrpc.h +4 more+530 -920 replies
17/23SUNRPC: Remove xdr_buf_trim()include/linux/sunrpc/xdr.h net/sunrpc/auth_gss/gss_krb5_wrap.c net/sunrpc/auth_gss/svcauth_gss.c +1 more+6 -460 replies
18/23SUNRPC: Add SPDX IDs to some net/sunrpc/auth_gss/ filesnet/sunrpc/auth_gss/auth_gss.c net/sunrpc/auth_gss/gss_krb5_mech.c net/sunrpc/auth_gss/gss_mech_switch.c +5 more+9 -1360 replies
19/23SUNRPC: Introduce rpc_prepare_reply_pages()fs/nfs/nfs2xdr.c fs/nfs/nfs3xdr.c fs/nfs/nfs4xdr.c +4 more+102 -730 replies
20/23NFS: Account for XDR pad of buf->pagesfs/nfs/nfs2xdr.c fs/nfs/nfs3xdr.c fs/nfs/nfs4xdr.c +2 more+23 -1613 replies
21/23SUNRPC: Make AUTH_SYS and AUTH_NULL set au_verfsizeinclude/linux/sunrpc/auth.h net/sunrpc/auth_gss/auth_gss.c net/sunrpc/auth_null.c +1 more+7 -30 replies
22/23SUNRPC: Add rpc_auth::au_ralign fieldinclude/linux/sunrpc/auth.h net/sunrpc/auth_gss/auth_gss.c net/sunrpc/auth_null.c +2 more+20 -110 replies
23/23SUNRPC: Use au_rslack when computing reply buffer sizenet/sunrpc/clnt.c+4 -30 replies

Reviews trailers per patch

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

PatchSimo SorceBruce Fields
1/23
2/23
3/23
4/23
5/23
6/23
7/23
8/23
9/23
10/23
11/23
12/23A-b
13/23
14/23
15/23
16/23
17/23A-b
18/23
19/23
20/23
21/23
22/23
23/23

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/23] NFS client patches for v5.1 (complete)

Hi Anna-

Here's the complete series of my patches that are ready for the v5.1 merge window. All of them have been previously posted for review. There are four main sets:

- the first three are RPC-over-RDMA-related fixes
- the next seven are observability improvements
- the next eight overhaul the RPC auth layer to use xdr_stream
- the last five reduce the size of RPC receive buffers

---

Chuck Lever (23):
xprtrdma: Fix sparse warnings
xprtrdma: Check inline size before providing a Write chunk
xprtrdma: Reduce the doorbell rate (Receive)
SUNRPC: Display symbolic flag names in RPC trace events
SUNRPC: Add xdr_stream::rqst field
SUNRPC: Add XDR overflow trace event
SUNRPC: Add trace event that reports reply page vector alignment
NFS: Remove print_overflow_msg()
NFS: Add trace events to report non-zero NFS status codes
SUNRPC: Remove some dprintk() call sites from auth functions
SUNRPC: Remove rpc_xprt::tsh_size
SUNRPC: Add build option to disable support for insecure enctypes
SUNRPC: Use struct xdr_stream when constructing RPC Call header
SUNRPC: Clean up rpc_verify_header()
SUNRPC: Use struct xdr_stream when decoding RPC Reply header
SUNRPC: Introduce trace points in rpc_auth_gss.ko
SUNRPC: Remove xdr_buf_trim()
SUNRPC: Add SPDX IDs to some net/sunrpc/auth_gss/ files
SUNRPC: Introduce rpc_prepare_reply_pages()
NFS: Account for XDR pad of buf->pages
SUNRPC: Make AUTH_SYS and AUTH_NULL set au_verfsize
SUNRPC: Add rpc_auth::au_ralign field
SUNRPC: Use au_rslack when computing reply buffer size

 fs/lockd/clnt4xdr.c                        |   14 -
 fs/lockd/clntxdr.c                         |   14 -
 fs/nfs/callback_xdr.c                      |   64 +--
 fs/nfs/flexfilelayout/flexfilelayout.c     |    2 
 fs/nfs/nfs2xdr.c                           |  124 ++----
 fs/nfs/nfs3xdr.c                           |  209 +++--------
 fs/nfs/nfs42xdr.c                          |   21 -
 fs/nfs/nfs4trace.h                         |   25 +
 fs/nfs/nfs4xdr.c                           |  529 ++++++++-------------------
 fs/nfs/nfstrace.c                          |    1 
 fs/nfs/nfstrace.h                          |   85 ++++
 fs/nfsd/nfs4callback.c                     |   13 -
 include/linux/sunrpc/auth.h                |   44 +-
 include/linux/sunrpc/clnt.h                |    3 
 include/linux/sunrpc/gss_krb5_enctypes.h   |   42 ++
 include/linux/sunrpc/xdr.h                 |   23 +
 include/linux/sunrpc/xprt.h                |    7 
 include/trace/events/rpcgss.h              |  361 ++++++++++++++++++
 include/trace/events/rpcrdma.h             |   12 +
 include/trace/events/sunrpc.h              |  361 ++++++++++++++++++
 net/sunrpc/Kconfig                         |   16 +
 net/sunrpc/auth.c                          |  136 ++++---
 net/sunrpc/auth_gss/Makefile               |    2 
 net/sunrpc/auth_gss/auth_gss.c             |  551 ++++++++++++++--------------
 net/sunrpc/auth_gss/gss_krb5_mech.c        |   29 -
 net/sunrpc/auth_gss/gss_krb5_wrap.c        |    8 
 net/sunrpc/auth_gss/gss_mech_switch.c      |   27 -
 net/sunrpc/auth_gss/gss_rpc_upcall.c       |   15 -
 net/sunrpc/auth_gss/gss_rpc_upcall.h       |   16 -
 net/sunrpc/auth_gss/gss_rpc_xdr.c          |   15 -
 net/sunrpc/auth_gss/gss_rpc_xdr.h          |   17 -
 net/sunrpc/auth_gss/svcauth_gss.c          |    3 
 net/sunrpc/auth_gss/trace.c                |   11 +
 net/sunrpc/auth_null.c                     |   56 ++-
 net/sunrpc/auth_unix.c                     |  120 ++++--
 net/sunrpc/clnt.c                          |  390 ++++++++++----------
 net/sunrpc/svc.c                           |   19 -
 net/sunrpc/xdr.c                           |  121 +++---
 net/sunrpc/xprt.c                          |   10 -
 net/sunrpc/xprtrdma/backchannel.c          |    2 
 net/sunrpc/xprtrdma/frwr_ops.c             |    4 
 net/sunrpc/xprtrdma/rpc_rdma.c             |   22 +
 net/sunrpc/xprtrdma/svc_rdma_backchannel.c |    1 
 net/sunrpc/xprtrdma/transport.c            |    1 
 net/sunrpc/xprtrdma/verbs.c                |    2 
 net/sunrpc/xprtrdma/xprt_rdma.h            |   12 +
 net/sunrpc/xprtsock.c                      |   91 +++--
 47 files changed, 2071 insertions(+), 1580 deletions(-)
 create mode 100644 include/trace/events/rpcgss.h
 create mode 100644 net/sunrpc/auth_gss/trace.c

--
Chuck Lever