kernel_optimize_test/include/linux/sunrpc
NeilBrown cda1fd4abd [PATCH] knfsd: fix recently introduced problem with shutting down a busy NFS server
When the last thread of nfsd exits, it shuts down all related sockets.  It
currently uses svc_close_socket to do this, but that only is immediately
effective if the socket is not SK_BUSY.

If the socket is busy - i.e.  if a request has arrived that has not yet been
processes - svc_close_socket is not effective and the shutdown process spins.

So create a new svc_force_close_socket which removes the SK_BUSY flag is set
and then calls svc_close_socket.

Also change some open-codes loops in svc_destroy to use
list_for_each_entry_safe.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-06 09:30:26 -08:00
..
auth_gss.h
auth.h
cache.h
clnt.h NFS: disconnect before retrying NFSv4 requests over TCP 2007-02-12 22:40:45 -08:00
debug.h [PATCH] sysctl: move CTL_SUNRPC to sysctl.h where it belongs 2007-02-14 08:09:55 -08:00
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h rpcgss: krb5: ignore seed 2006-12-06 10:46:47 -05:00
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h
rpc_pipe_fs.h
sched.h [PATCH] Fix build errors if bitop functions are do {} while macros 2007-02-20 17:10:12 -08:00
stats.h
svc.h [PATCH] knfsd: remove CONFIG_IPV6 ifdefs from sunrpc server code 2007-03-06 09:30:26 -08:00
svcauth_gss.h
svcauth.h
svcsock.h [PATCH] knfsd: fix recently introduced problem with shutting down a busy NFS server 2007-03-06 09:30:26 -08:00
timer.h
types.h
xdr.h SUNRPC: Rename skb_reader_t and friends 2006-12-06 10:46:52 -05:00
xprt.h SUNRPC: Make address format buffers more generic 2006-12-06 10:46:51 -05:00