mbox series

Please pull NFS server updates for v5.9

Message ID F9B8940D-9F7B-47F5-9946-D77C17CF959A@oracle.com (mailing list archive)
State Not Applicable
Headers show
Series Please pull NFS server updates for v5.9 | expand

Pull-request

git://git.linux-nfs.org/projects/cel/cel-2.6.git tags/nfsd-5.9

Message

Chuck Lever III Aug. 9, 2020, 3:44 p.m. UTC
Hello Linus-

The following changes since commit 11ba468877bb23f28956a35e896356252d63c983:

  Linux 5.8-rc5 (2020-07-12 16:34:50 -0700)

are available in the Git repository at:

  git://git.linux-nfs.org/projects/cel/cel-2.6.git tags/nfsd-5.9

for you to fetch changes up to b297fed699ad9e50315b27e78de42ac631c9990d:

  svcrdma: CM event handler clean up (2020-07-28 10:18:15 -0400)

----------------------------------------------------------------
Highlights:

- Support for user extended attributes on NFS (RFC 8276)
- Further reduce unnecessary NFSv4 delegation recalls

Notable fixes:

- Fix recent krb5p regression
- Address a few resource leaks and a rare NULL dereference

Other:

- De-duplicate RPC/RDMA error handling and other utility functions
- Replace storage and display of kernel memory addresses by tracepoints

----------------------------------------------------------------
Chuck Lever (24):
      SUNRPC: Augment server-side rpcgss tracepoints
      svcrdma: Fix page leak in svc_rdma_recv_read_chunk()
      svcrdma: Remove save_io_pages() call from send_error_msg()
      svcrdma: Add @rctxt parameter to svc_rdma_send_error() functions
      svcrdma: Add a @status parameter to svc_rdma_send_error_msg()
      svcrdma: Eliminate return value for svc_rdma_send_error_msg()
      svcrdma: Make svc_rdma_send_error_msg() a global function
      svcrdma: Consolidate send_error helper functions
      svcrdma: Clean up trace_svcrdma_send_failed() tracepoint
      svcrdma: Remove declarations for functions long removed
      SUNRPC: Add helpers for decoding list discriminators symbolically
      svcrdma: Add common XDR decoders for RDMA and Read segments
      svcrdma: Add common XDR encoders for RDMA and Read segments
      svcrdma: Introduce infrastructure to support completion IDs
      svcrdma: Introduce Receive completion IDs
      svcrdma: Record Receive completion ID in svc_rdma_decode_rqst
      svcrdma: Introduce Send completion IDs
      svcrdma: Record send_ctxt completion ID in trace_svcrdma_post_send()
      svcrdma: Display chunk completion ID when posting a rw_ctxt
      SUNRPC: Fix ("SUNRPC: Add "@len" parameter to gss_unwrap()")
      SUNRPC: Refresh the show_rqstp_flags() macro
      svcrdma: Fix another Receive buffer leak
      svcrdma: Remove transport reference counting
      svcrdma: CM event handler clean up

Frank van der Linden (10):
      nfs,nfsd: NFSv4.2 extended attribute protocol definitions
      xattr: break delegations in {set,remove}xattr
      xattr: add a function to check if a namespace is supported
      nfsd: split off the write decode code into a separate function
      nfsd: add defines for NFSv4.2 extended attribute support
      nfsd: define xattr functions to call into their vfs counterparts
      nfsd: take xattr bits into account for permission checks
      nfsd: add structure definitions for xattr requests / responses
      nfsd: implement the xattr functions and en/decode logic
      nfsd: add fattr support for user extended attributes

J. Bruce Fields (1):
      nfsd4: a client's own opens needn't prevent delegations

Randy Dunlap (1):
      nfsd: netns.h: delete a duplicated word

Scott Mayhew (1):
      nfsd: avoid a NULL dereference in __cld_pipe_upcall()

Xu Wang (1):
      nfsd: Use seq_putc() in two functions

 fs/locks.c                                 |   3 +
 fs/nfsd/netns.h                            |   2 +-
 fs/nfsd/nfs4idmap.c                        |   4 +-
 fs/nfsd/nfs4proc.c                         | 128 ++++++++++++++++++++++-
 fs/nfsd/nfs4recover.c                      |  24 ++---
 fs/nfsd/nfs4state.c                        |  54 +++++++---
 fs/nfsd/nfs4xdr.c                          | 531 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 fs/nfsd/nfsd.h                             |   5 +-
 fs/nfsd/vfs.c                              | 239 ++++++++++++++++++++++++++++++++++++++++++
 fs/nfsd/vfs.h                              |  10 ++
 fs/nfsd/xdr4.h                             |  31 ++++++
 fs/xattr.c                                 | 111 ++++++++++++++++++--
 include/linux/nfs4.h                       |  22 +++-
 include/linux/sunrpc/rpc_rdma.h            |  74 +++++++++++++
 include/linux/sunrpc/rpc_rdma_cid.h        |  24 +++++
 include/linux/sunrpc/svc_rdma.h            |  17 ++-
 include/linux/sunrpc/xdr.h                 |  26 +++++
 include/linux/xattr.h                      |   4 +
 include/trace/events/rpcgss.h              | 168 +++++++++++++++++++++++++-----
 include/trace/events/rpcrdma.h             | 207 +++++++++++++++++++-----------------
 include/trace/events/sunrpc.h              |  35 +++++--
 include/uapi/linux/nfs4.h                  |   3 +
 net/sunrpc/auth_gss/gss_krb5_wrap.c        |   2 +-
 net/sunrpc/auth_gss/svcauth_gss.c          | 118 ++++++++++++++-------
 net/sunrpc/auth_gss/trace.c                |   3 +
 net/sunrpc/xprtrdma/frwr_ops.c             |   1 -
 net/sunrpc/xprtrdma/rpc_rdma.c             |  31 ++----
 net/sunrpc/xprtrdma/svc_rdma_backchannel.c |   2 +-
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c    | 115 +++++++-------------
 net/sunrpc/xprtrdma/svc_rdma_rw.c          |  81 +++++++++------
 net/sunrpc/xprtrdma/svc_rdma_sendto.c      | 124 ++++++++++++++--------
 net/sunrpc/xprtrdma/svc_rdma_transport.c   |  74 +++++--------
 32 files changed, 1807 insertions(+), 466 deletions(-)
 create mode 100644 include/linux/sunrpc/rpc_rdma_cid.h
--
Chuck Lever

Comments

Stephen Rothwell Aug. 9, 2020, 11:03 p.m. UTC | #1
Hi Chuck,

On Sun, 9 Aug 2020 11:44:15 -0400 Chuck Lever <chuck.lever@oracle.com> wrote:
>
> The following changes since commit 11ba468877bb23f28956a35e896356252d63c983:
> 
>   Linux 5.8-rc5 (2020-07-12 16:34:50 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.linux-nfs.org/projects/cel/cel-2.6.git tags/nfsd-5.9
> 
> for you to fetch changes up to b297fed699ad9e50315b27e78de42ac631c9990d:
> 
>   svcrdma: CM event handler clean up (2020-07-28 10:18:15 -0400)

Despite you having a branch included in linux-next, only one of these
commits has been in linux-next :-( (and that via Trond's nfs tree)
Chuck Lever III Aug. 10, 2020, 12:25 p.m. UTC | #2
> On Aug 9, 2020, at 7:03 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> Hi Chuck,
> 
> On Sun, 9 Aug 2020 11:44:15 -0400 Chuck Lever <chuck.lever@oracle.com> wrote:
>> 
>> The following changes since commit 11ba468877bb23f28956a35e896356252d63c983:
>> 
>>  Linux 5.8-rc5 (2020-07-12 16:34:50 -0700)
>> 
>> are available in the Git repository at:
>> 
>>  git://git.linux-nfs.org/projects/cel/cel-2.6.git tags/nfsd-5.9
>> 
>> for you to fetch changes up to b297fed699ad9e50315b27e78de42ac631c9990d:
>> 
>>  svcrdma: CM event handler clean up (2020-07-28 10:18:15 -0400)
> 
> Despite you having a branch included in linux-next, only one of these
> commits has been in linux-next :-( (and that via Trond's nfs tree)

Is there something I need to change? The public copy of the cel-testing
branch has had this content for the past 12 days.


--
Chuck Lever
Stephen Rothwell Aug. 11, 2020, 6:15 a.m. UTC | #3
Hi Chuck,

On Mon, 10 Aug 2020 08:25:14 -0400 Chuck Lever <chuck.lever@oracle.com> wrote:
> 
> Is there something I need to change? The public copy of the cel-testing
> branch has had this content for the past 12 days.

You just need to keep your cel-next branch up to the top commit that is
ready.  That is the branch you told me to fetch.  It is currently at commit

  0a8e7b7d0846 ("SUNRPC: Revert 241b1f419f0e ("SUNRPC: Remove xdr_buf_trim()")")

It looks like that is what Linus merged into v5.7-rc2.
Chuck Lever III Aug. 11, 2020, 1:19 p.m. UTC | #4
> On Aug 11, 2020, at 2:15 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> Hi Chuck,
> 
> On Mon, 10 Aug 2020 08:25:14 -0400 Chuck Lever <chuck.lever@oracle.com> wrote:
>> 
>> Is there something I need to change? The public copy of the cel-testing
>> branch has had this content for the past 12 days.
> 
> You just need to keep your cel-next branch up to the top commit that is
> ready.  That is the branch you told me to fetch.  It is currently at commit
> 
>  0a8e7b7d0846 ("SUNRPC: Revert 241b1f419f0e ("SUNRPC: Remove xdr_buf_trim()")")
> 
> It looks like that is what Linus merged into v5.7-rc2.

Ah. I thought you were pulling cel-testing, so I deleted cel-next. I will
rehydrate cel-next right now.

--
Chuck Lever