Skip to content

NFSD: More minor XDR restructuring

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected] change-id 20261119-blocklayout-decode-stream-f38f4e015555

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4NFSD: Reject layoutupdate extent counts that wrap the length checkfs/nfsd/blocklayoutxdr.c+8 -81 reply
2/4NFSD: Allocate the layoutupdate extent array with kvzalloc_objs()fs/nfsd/blocklayout.c fs/nfsd/blocklayoutxdr.c+5 -51 reply
3/4NFSD: Decode block and SCSI layoutupdates from a local xdr_streamfs/nfsd/blocklayout.c+14 -81 reply
4/4NFSD: Remove the svc_rqst argument from proc_layoutcommitfs/nfsd/blocklayout.c fs/nfsd/flexfilelayout.c fs/nfsd/nfs4proc.c +1 more+8 -90 replies

Reviews trailers per patch

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

PatchChristoph Hellwig
1/4R-b
2/4R-b
3/4
4/4

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 0/4] NFSD: More minor XDR restructuring

The main change in this series replaces the use of the svc_rqst's rq_arg and rq_arg_stream fields with local stack variables, but as usual, agentic review discovered a number of pre-existing issues in this area that needed attention.

---
Chuck Lever (4):
NFSD: Reject layoutupdate extent counts that wrap the length check
NFSD: Allocate the layoutupdate extent array with kvzalloc_objs()
NFSD: Decode block and SCSI layoutupdates from a local xdr_stream
NFSD: Remove the svc_rqst argument from proc_layoutcommit

 fs/nfsd/blocklayout.c    | 32 +++++++++++++++++++-------------
 fs/nfsd/blocklayoutxdr.c | 24 ++++++++++++------------
 fs/nfsd/flexfilelayout.c |  4 ++--
 fs/nfsd/nfs4proc.c       |  2 +-
 fs/nfsd/pnfs.h           |  3 +--
 5 files changed, 35 insertions(+), 30 deletions(-)

---
base-commit: 8489270d1cb9568fc88f3cda4626a19807300d77
change-id: 20261119-blocklayout-decode-stream-f38f4e015555

Best regards,

Signature · 1 line
Chuck Lever <[email protected]>