alistair23-linux/net/sunrpc
Chuck Lever 43d78ef2ba NFS: disconnect before retrying NFSv4 requests over TCP
RFC3530 section 3.1.1 states an NFSv4 client MUST NOT send a request
twice on the same connection unless it is the NULL procedure.  Section
3.1.1 suggests that the client should disconnect and reconnect if it
wants to retry a request.

Implement this by adding an rpc_clnt flag that an ULP can use to
specify that the underlying transport should be disconnected on a
major timeout.  The NFSv4 client asserts this new flag, and requests
no retries after a minor retransmit timeout.

Note that disconnecting on a retransmit is in general not safe to do
if the RPC client does not reuse the TCP port number when reconnecting.

See http://bugzilla.linux-nfs.org/show_bug.cgi?id=6

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-02-12 22:40:45 -08:00
..
auth_gss SUNRPC: fix print format for tk_pid in auth_gss support 2007-02-03 15:35:09 -08:00
auth.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00
auth_null.c
auth_unix.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00
cache.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00
clnt.c NFS: disconnect before retrying NFSv4 requests over TCP 2007-02-12 22:40:45 -08:00
Makefile
pmap_clnt.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00
rpc_pipe.c NFSv4: Ensure non-root user can trigger a referral automount 2007-02-03 15:35:10 -08:00
sched.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00
socklib.c SUNRPC: Rename skb_reader_t and friends 2006-12-06 10:46:52 -05:00
stats.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00
sunrpc_syms.c SUNRPC: create stubs for xprtsock init and cleanup 2006-12-06 10:46:53 -05:00
svc.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00
svcauth.c [PATCH] lockdep: name some old style locks 2006-12-07 08:39:36 -08:00
svcauth_unix.c [PATCH] knfsd: Don't ignore kstrdup failure in rpc caches 2006-12-13 09:05:54 -08:00
svcsock.c [PATCH] knfsd: ratelimit some nfsd messages that are triggered by external events 2007-01-30 08:26:45 -08:00
sysctl.c SUNRPC: relocate the creation of socket-specific tunables 2006-12-06 10:46:53 -05:00
timer.c
xdr.c rpc: move process_xdr_buf 2006-12-06 10:46:44 -05:00
xprt.c NFS: disconnect before retrying NFSv4 requests over TCP 2007-02-12 22:40:45 -08:00
xprtsock.c SUNRPC: fix print format for tk_pid 2007-02-03 15:35:10 -08:00