Convert lockd to use xdrgen for NLMv4
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest29 patches 0 repliesNew
Changes in v3 from the cover letter
- Pre-requisite changes have been applied to nfsd-testing
Patches in v3 No applies recorded yet
Reviews trailers per patch
All 29 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/29] Convert lockd to use xdrgen for NLMv4
From: Chuck Lever <[email protected]>
This series modernizes the NLMv4 XDR layer using XDR generated by the xdrgen tool.
Based on the public nfsd-testing branch.
---
Changes since v2:
- Pre-requisite changes have been applied to nfsd-testing
Chuck Lever (29):
Documentation: Add the RPC language description of NLM version 4
lockd: Use xdrgen XDR functions for the NLMv4 NULL procedure
lockd: Use xdrgen XDR functions for the NLMv4 TEST procedure
lockd: Use xdrgen XDR functions for the NLMv4 LOCK procedure
lockd: Use xdrgen XDR functions for the NLMv4 CANCEL procedure
lockd: Use xdrgen XDR functions for the NLMv4 UNLOCK procedure
lockd: Use xdrgen XDR functions for the NLMv4 GRANTED procedure
lockd: Refactor nlm4svc_callback()
lockd: Use xdrgen XDR functions for the NLMv4 TEST_MSG procedure
lockd: Use xdrgen XDR functions for the NLMv4 LOCK_MSG procedure
lockd: Use xdrgen XDR functions for the NLMv4 CANCEL_MSG procedure
lockd: Use xdrgen XDR functions for the NLMv4 UNLOCK_MSG procedure
lockd: Use xdrgen XDR functions for the NLMv4 GRANTED_MSG procedure
lockd: Use xdrgen XDR functions for the NLMv4 TEST_RES procedure
lockd: Use xdrgen XDR functions for the NLMv4 LOCK_RES procedure
lockd: Use xdrgen XDR functions for the NLMv4 CANCEL_RES procedure
lockd: Use xdrgen XDR functions for the NLMv4 UNLOCK_RES procedure
lockd: Use xdrgen XDR functions for the NLMv4 GRANTED_RES procedure
lockd: Use xdrgen XDR functions for the NLMv4 SM_NOTIFY procedure
lockd: Convert server-side undefined procedures to xdrgen
lockd: Hoist file_lock init out of nlm4svc_decode_shareargs()
lockd: Prepare share helpers for xdrgen conversion
lockd: Use xdrgen XDR functions for the NLMv4 SHARE procedure
lockd: Use xdrgen XDR functions for the NLMv4 UNSHARE procedure
lockd: Use xdrgen XDR functions for the NLMv4 NM_LOCK procedure
lockd: Use xdrgen XDR functions for the NLMv4 FREE_ALL procedure
lockd: Add LOCKD_SHARE_SVID constant for DOS sharing mode
lockd: Remove C macros that are no longer used
lockd: Remove dead code from fs/lockd/xdr4.c
Documentation/sunrpc/xdr/nlm4.x | 211 ++++ fs/lockd/Makefile | 30 +- fs/lockd/clnt4xdr.c | 2 - fs/lockd/lockd.h | 7 + fs/lockd/nlm4xdr_gen.c | 724 ++++++++++++ fs/lockd/nlm4xdr_gen.h | 32 + fs/lockd/share.h | 11 +- fs/lockd/svc4proc.c | 1773 +++++++++++++++++++--------- fs/lockd/svcproc.c | 7 +- fs/lockd/svcshare.c | 35 +- fs/lockd/xdr.c | 3 +- fs/lockd/xdr4.c | 337 ------ fs/lockd/xdr4.h | 33 - include/linux/sunrpc/xdrgen/nlm4.h | 233 ++++ 14 files changed, 2474 insertions(+), 964 deletions(-) create mode 100644 Documentation/sunrpc/xdr/nlm4.x create mode 100644 fs/lockd/nlm4xdr_gen.c create mode 100644 fs/lockd/nlm4xdr_gen.h delete mode 100644 fs/lockd/xdr4.c delete mode 100644 fs/lockd/xdr4.h create mode 100644 include/linux/sunrpc/xdrgen/nlm4.h
Signature · 1 line
2.53.0