2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-02 02:34:05 +08:00
linux-next/include/linux/sunrpc
Neil Brown 2b477c00f3 svcrpc: free contexts immediately on PROC_DESTROY
We currently handle a client PROC_DESTROY request by turning it
CACHE_NEGATIVE, setting the expired time to now, and then waiting for
cache_clean to clean it up later.  Since we forgot to set the cache's
nextcheck value, that could take up to 30 minutes.  Also, though there's
probably no real bug in this case, setting CACHE_NEGATIVE directly like
this probably isn't a great idea in general.

So let's just remove the entry from the cache directly, and move this
bit of cache manipulation to a helper function.

Signed-off-by: Neil Brown <neilb@suse.com>
Reported-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2017-01-31 12:31:53 -05:00
..
addr.h
auth_gss.h
auth.h sunrpc: add hash_cred() function to rpc_authops struct 2016-09-30 15:28:46 -04:00
bc_xprt.h SUNRPC: Abstract backchannel operations 2015-11-02 13:45:15 -05:00
cache.h svcrpc: free contexts immediately on PROC_DESTROY 2017-01-31 12:31:53 -05:00
clnt.h SUNRPC: cleanup ida information when removing sunrpc module 2017-01-24 15:29:24 -05:00
debug.h
gss_api.h xprtrdma: No direct data placement with krb5i and krb5p 2016-07-11 15:50:43 -04:00
gss_asn1.h
gss_err.h
gss_krb5_enctypes.h
gss_krb5.h sunrpc: Use skcipher and ahash/shash 2016-01-27 20:36:01 +08:00
metrics.h
msg_prot.h sunrpc: Update RPCBIND_MAXNETIDLEN 2016-05-17 15:47:56 -04:00
rpc_pipe_fs.h
rpc_rdma.h rpcrdma: RDMA/CM private message data structure 2016-09-23 10:18:53 -04:00
sched.h SUNRPC: Generalize the RPC buffer release API 2016-09-19 13:08:37 -04:00
stats.h
svc_rdma.h svcrdma: Remove svc_rdma_op_ctxt::wc_status 2016-11-30 17:31:14 -05:00
svc_xprt.h sunrpc: don't call sleeping functions from the notifier block callbacks 2017-01-12 15:56:40 -05:00
svc.h SUNRPC: Add a server side per-connection limit 2016-07-13 15:53:48 -04:00
svcauth_gss.h
svcauth.h vfs: make the string hashes salt the hash 2016-06-10 20:21:46 -07:00
svcsock.h
timer.h
types.h
xdr.h SUNRPC: Refactor rpc_xdr_buf_init() 2016-09-19 13:08:37 -04:00
xprt.h SUNRPC: Add a transport-specific private field in rpc_rqst 2016-09-19 13:08:37 -04:00
xprtmultipath.h SUNRPC search xprt switch for sockaddr 2016-09-19 13:08:36 -04:00
xprtrdma.h xprtrdma: Support larger inline thresholds 2016-09-19 13:08:38 -04:00
xprtsock.h SUNRPC: Small optimisation of client receive 2016-06-13 12:35:51 -04:00