Skip to content

NFSv4.1: sp4_mach_cred cleanup

Weston Andros Adamson linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NFSv4.1: clean up after using machine credfs/nfs/nfs4_fs.h fs/nfs/nfs4proc.c fs/nfs/write.c+85 -433 replies
2/2NFSv4.1: sp4_mach_cred: ask for WRITE and COMMITfs/nfs/nfs4proc.c+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] NFSv4.1: sp4_mach_cred cleanup

These two patches do some final cleanup of SP4_MACH_CRED:
- actually call put_rpccred() if we get_rpccred(clp->cl_machine_cred)
- advertise to server that we support WRITE and COMMIT

Tested against a linux nfsd hacked to "support" sp4_mach_cred for the client supported ops. Also tested building with v4.1 disabled and v4 disabled.

Trond - it's (obviously) up to you if these get in during this merge window. I think they're pretty straightforward. Also, these patches are independent from eachother, so it's ok to select one but not the other.

Weston Andros Adamson (2):
NFSv4.1: clean up after using machine cred NFSv4.1: sp4_mach_cred: ask for WRITE and COMMIT

 fs/nfs/nfs4_fs.h  | 58 ++++++++++++++++++++++++++++++++++++-------------------
 fs/nfs/nfs4proc.c | 58 +++++++++++++++++++++++++++++++++++++------------------
 fs/nfs/write.c    | 18 +++++++++++------
 3 files changed, 89 insertions(+), 45 deletions(-)
Signature · 1 line
1.7.12.4 (Apple Git-37)