Bugfixes and tracing enhancements for knfsd
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | nfsd: Don't add locks to closed or closing open stateidsfs/ | +43 | 0 replies | |
| 2/8 | nfsd: Add tracing to nfsd_set_fh_dentry()fs/ fs/ | +40 | 3 replies | |
| 3/8 | nfsd: Add tracepoints for exp_find_key() and exp_get_by_name()fs/ fs/ | +53 | 0 replies | |
| 4/8 | nfsd: Add tracepoints for update of the expkey and export cache entriesfs/ fs/ | +61 | 0 replies | |
| 5/8 | nfsd: export upcalls must not return ESTALE when mountd is downfs/ fs/ fs/ +4 more | +85 | 0 replies | |
| 6/8 | SUNRPC/cache: Allow garbage collection of invalid cache entriesinclude/ net/ | +19 | 0 replies | |
| 7/8 | sunrpc: Add tracing for cache eventsinclude/ net/ | +59 | 0 replies | |
| 8/8 | sunrpc: Drop the connection when the server drops a requestnet/ | +10 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] Bugfixes and tracing enhancements for knfsd
This series fixes an Oops that has been getting in the way of testing NFSv4.1 in the last few weeks. It adds a number of tracepoints around the knfsd cache and upcall mechanism in order to help debugging, then fixes a few races caused by the cache_listeners_exist() mechanism and goes back to addressing the garbage collection timeouts.
Finally, it fixes the long standing issue that knfsd will drop requests without dropping the TCP connection, something which violates the NFSv4 protocol.
Trond Myklebust (8):
nfsd: Don't add locks to closed or closing open stateids
nfsd: Add tracing to nfsd_set_fh_dentry()
nfsd: Add tracepoints for exp_find_key() and exp_get_by_name()
nfsd: Add tracepoints for update of the expkey and export cache
entries
nfsd: export upcalls must not return ESTALE when mountd is down SUNRPC/cache: Allow garbage collection of invalid cache entries
sunrpc: Add tracing for cache events
sunrpc: Drop the connection when the server drops a request
fs/nfs/dns_resolve.c | 11 +-- fs/nfsd/export.c | 45 ++++++++--- fs/nfsd/nfs4idmap.c | 14 ++++ fs/nfsd/nfs4state.c | 73 ++++++++++-------- fs/nfsd/nfsfh.c | 13 +++- fs/nfsd/trace.h | 122 +++++++++++++++++++++++++++++ include/linux/sunrpc/cache.h | 6 +- include/trace/events/sunrpc.h | 33 ++++++++ net/sunrpc/auth_gss/svcauth_gss.c | 12 +++ net/sunrpc/cache.c | 124 +++++++++++++++++------------- net/sunrpc/svc_xprt.c | 10 +++ net/sunrpc/svcauth_unix.c | 12 +++ 12 files changed, 370 insertions(+), 105 deletions(-)
Signature · 1 line
2.24.1