]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge tag 'nfsd-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Apr 2026 17:44:02 +0000 (10:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Apr 2026 17:44:02 +0000 (10:44 -0700)
Pull nfsd updates from Chuck Lever:

 - filehandle signing to defend against filehandle-guessing attacks
   (Benjamin Coddington)

   The server now appends a SipHash-2-4 MAC to each filehandle when
   the new "sign_fh" export option is enabled. NFSD then verifies
   filehandles received from clients against the expected MAC;
   mismatches return NFS error STALE

 - convert the entire NLMv4 server-side XDR layer from hand-written C to
   xdrgen-generated code, spanning roughly thirty patches (Chuck Lever)

   XDR functions are generally boilerplate code and are easy to get
   wrong. The goals of this conversion are improved memory safety, lower
   maintenance burden, and groundwork for eventual Rust code generation
   for these functions.

 - improve pNFS block/SCSI layout robustness with two related changes
   (Dai Ngo)

   SCSI persistent reservation fencing is now tracked per client and
   per device via an xarray, to avoid both redundant preempt operations
   on devices already fenced and a potential NFSD deadlock when all nfsd
   threads are waiting for a layout return.

 - scalability and infrastructure improvements

   Sincere thanks to all contributors, reviewers, testers, and bug
   reporters who participated in the v7.1 NFSD development cycle.

* tag 'nfsd-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux: (83 commits)
  NFSD: Docs: clean up pnfs server timeout docs
  nfsd: fix comment typo in nfsxdr
  nfsd: fix comment typo in nfs3xdr
  NFSD: convert callback RPC program to per-net namespace
  NFSD: use per-operation statidx for callback procedures
  svcrdma: Use contiguous pages for RDMA Read sink buffers
  SUNRPC: Add svc_rqst_page_release() helper
  SUNRPC: xdr.h: fix all kernel-doc warnings
  svcrdma: Factor out WR chain linking into helper
  svcrdma: Add Write chunk WRs to the RPC's Send WR chain
  svcrdma: Clean up use of rdma->sc_pd->device
  svcrdma: Clean up use of rdma->sc_pd->device in Receive paths
  svcrdma: Add fair queuing for Send Queue access
  SUNRPC: Optimize rq_respages allocation in svc_alloc_arg
  SUNRPC: Track consumed rq_pages entries
  svcrdma: preserve rq_next_page in svc_rdma_save_io_pages
  SUNRPC: Handle NULL entries in svc_rqst_release_pages
  SUNRPC: Allocate a separate Reply page array
  SUNRPC: Tighten bounds checking in svc_rqst_replace_page
  NFSD: Sign filehandles
  ...

1  2 
fs/lockd/svclock.c
fs/lockd/svcsubs.c
fs/locks.c
fs/nfs/blocklayout/blocklayout.c
fs/nfs/sysfs.c
fs/nfsd/export.c
fs/nfsd/nfs4state.c
fs/nfsd/nfsfh.c
include/linux/sunrpc/svc.h

Simple merge
Simple merge
diff --cc fs/locks.c
Simple merge
Simple merge
diff --cc fs/nfs/sysfs.c
index 1da4f707f9efeed0c7b22b030b4ed4d96b55ead4,051da37770d8d5c4d2a241b98fe95bc88e91a654..3a197252a1329b30b7b957ee97a437bf18aa5d5b
@@@ -11,9 -11,8 +11,9 @@@
  #include <linux/netdevice.h>
  #include <linux/string.h>
  #include <linux/nfs_fs.h>
 +#include <net/net_namespace.h>
  #include <linux/rcupdate.h>
- #include <linux/lockd/lockd.h>
+ #include <linux/lockd/bind.h>
  
  #include "internal.h"
  #include "nfs4_fs.h"
Simple merge
Simple merge
diff --cc fs/nfsd/nfsfh.c
Simple merge
Simple merge