Trond Myklebust
f609266b12
NFSv4: Fix callback server shutdown
...
commit ed6473ddc704a2005b9900ca08e236ebb2d8540a upstream.
We want to use kthread_stop() in order to ensure the threads are
shut down before we tear down the nfs_callback_info in nfs_callback_down.
Tested-and-reviewed-by: Kinglong Mee <kinglongmee@gmail.com>
Reported-by: Kinglong Mee <kinglongmee@gmail.com>
Fixes: bb6aeba736 ("NFSv4.x: Switch to using svc_set_num_threads()...")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Cc: Jan Hudoba <kernel@jahu.sk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-27 14:39:18 +02:00
..
addr.h
SUNRPC: Drop double-underscores from __rpc_cmp_addr6()
2015-08-17 14:47:53 -05:00
auth.h
sunrpc: add hash_cred() function to rpc_authops struct
2016-09-30 15:28:46 -04:00
auth_gss.h
bc_xprt.h
SUNRPC: Abstract backchannel operations
2015-11-02 13:45:15 -05:00
cache.h
sunrpc: remove 'inuse' flag from struct cache_detail.
2016-07-13 15:32:47 -04:00
clnt.h
SUNRPC: cleanup ida information when removing sunrpc module
2017-02-01 08:33:09 +01:00
debug.h
sunrpc: make debugfs file creation failure non-fatal
2015-04-23 14:42:27 -04:00
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.h
sunrpc: Use skcipher and ahash/shash
2016-01-27 20:36:01 +08:00
gss_krb5_enctypes.h
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.h
NFSv4: Fix callback server shutdown
2017-09-27 14:39:18 +02:00
svc_rdma.h
svcrdma: support Remote Invalidation
2016-09-23 10:18:54 -04:00
svc_xprt.h
sunrpc: don't call sleeping functions from the notifier block callbacks
2017-01-26 08:24:37 +01:00
svcauth.h
vfs: make the string hashes salt the hash
2016-06-10 20:21:46 -07:00
svcauth_gss.h
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