cvs commit: src/sys/nfsclient nfs_socket.c

Robert Watson rwatson at FreeBSD.org
Fri Mar 24 11:03:27 UTC 2006


On Thu, 23 Mar 2006, Kris Kennaway wrote:

>  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).

Wow.  Nice catch.

Robert N M Watson


More information about the cvs-src mailing list