nfs4.1: Initial SP4_MACH_CRED implementation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | nfs4.1: Minimal SP4_MACH_CRED implementationfs/ fs/ include/ +1 more | +199 | 0 replies | |
| 2/5 | nfs4.1: add state protection handlerfs/ | +36 | 0 replies | |
| 3/5 | nfs4.1: Add SP4_MACH_CRED cleanup supportfs/ include/ | +28 | 0 replies | |
| 4/5 | nfs4.1: Add SP4_MACH_CRED secinfo supportfs/ include/ | +16 | 0 replies | |
| 5/5 | nfs4.1: Add SP4_MACH_CRED stateid supportfs/ include/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] nfs4.1: Initial SP4_MACH_CRED implementation
These patches are the initial client-side SP4_MACH_CRED implementation.
Patch 1 is a repost with a few cleanups
Patch 2 adds the sp4 handler that replaces the cred on an rpc message (and picks the right rpc_clnt). Note that for now, we always use the machine cred if supported - we could only use it if the user cred expires, but this is simple and spec compliant.
Patch 3-5 implement SP4_MACH_CRED "features":
- cleanup - CLOSE and LOCKU use machine cred
- secinfo - SECINFO and SECINFO_NO_NAME use machine cred
- stateid - TEST_STATEID and FREE_STATEID use machine cred
There are three more features that I've been working on, but need to be tested before I post:
- commit - COMMIT uses machine cred
- write - WRITE uses machine cred, forces stable writes unless commit feature is also enabled
- recovery - OPEN and LOCK can use machine cred - only in recovery.
The commit and write cases should be easy to test against a hacked nfsd, but I need to think more about how to test the recovery stuff...
-dros