kernel-hacking-2024-linux-s.../fs/nfs
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
..
callback.c
callback.h
callback_proc.c
callback_xdr.c
client.c NFS: disconnect before retrying NFSv4 requests over TCP 2007-02-12 22:40:45 -08:00
delegation.c
delegation.h
dir.c NFS: Dont clobber more uptodate values in nfs_set_verifier() 2007-02-03 15:35:05 -08:00
direct.c NFS: fix print format for tk_pid 2007-02-03 15:35:09 -08:00
file.c [PATCH] Remove warning: VFS is out of sync with lock manager 2007-01-30 16:01:35 -08:00
getroot.c NFSv4: Don't require that NFSv4 mount paths begin with '/' 2007-02-03 15:35:05 -08:00
idmap.c
inode.c NFS: Cleanup - avoid rereading 'jiffies' more than once in the same routine 2007-02-12 22:40:30 -08:00
internal.h NFSv4: Cleanups for fs_locations code. 2007-02-03 15:35:06 -08:00
iostat.h
Makefile
mount_clnt.c
namespace.c
nfs2xdr.c
nfs3acl.c
nfs3proc.c NFS: Remove nfs_readpage_sync() 2007-02-03 15:35:06 -08:00
nfs3xdr.c
nfs4_fs.h NFSv4: Cleanups for fs_locations code. 2007-02-03 15:35:06 -08:00
nfs4namespace.c NFSv4: /proc/mounts displays the wrong server name for referrals 2007-02-03 15:35:10 -08:00
nfs4proc.c NFSv4: Add lockdep checks to nfs4_wait_clnt_recover() 2007-02-03 15:35:08 -08:00
nfs4renewd.c
nfs4state.c
nfs4xdr.c NFSv4: Fix NFS4_enc_server_caps_sz/NFS4_dec_server_caps_sz 2007-02-03 15:35:03 -08:00
nfsroot.c
pagelist.c
proc.c NFS: Remove nfs_readpage_sync() 2007-02-03 15:35:06 -08:00
read.c NFS: fix print format for tk_pid 2007-02-03 15:35:09 -08:00
super.c NFSv4: Fix Oops in nfs4_create_referral_server 2007-02-03 15:35:03 -08:00
symlink.c [PATCH] NFS: Fix races in nfs_revalidate_mapping() 2007-01-24 12:31:06 -08:00
sysctl.c
unlink.c
write.c NFS: Don't use ClearPageUptodate() when writeback fails 2007-02-12 22:40:38 -08:00