Date: Thu, 23 Mar 2006 22:58:42 +0000 (UTC) From: Kris Kennaway <kris@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_socket.c Message-ID: <200603232258.k2NMwgRN018180@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2006-03-23 22:58:42 UTC
FreeBSD src repository
Modified files:
sys/nfsclient nfs_socket.c
Log:
Fix a bug in the NFS/TCP retransmission path.
The bug was that earlier, if a request was retransmitted,
we would do subsequent retransmits every 10 msecs.
This can cause data corruption under moderate loads by reordering
operations as seen by the client NFS attribute cache, and on the
server side when the retransmission occurs after the original request
has left the duplicate cache, since the operation will be committed
for a second time.
Further work on retransmission handling is needed (e.g. they are still
being done sent too often since they are scaled by HZ, and the size of
the dup cache is too small and easily overwhelmed on busy servers).
Submitted by: mohans
Revision Changes Path
1.137 +1 -0 src/sys/nfsclient/nfs_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603232258.k2NMwgRN018180>
