Date: Thu, 17 Apr 1997 12:10:02 -0700 (PDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: freebsd-bugs Subject: Re: kern/3304: NFS V2 readdir hangs Message-ID: <199704171910.MAA28129@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/3304; it has been noted by GNATS. From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> Cc: freebsd-gnats-submit@freefall.freebsd.org Subject: Re: kern/3304: NFS V2 readdir hangs Date: Thu, 17 Apr 1997 15:04:57 -0400 (EDT) <<On Thu, 17 Apr 1997 09:30:02 -0700 (PDT), Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> said: > It appears that nfs_receive() calls soreceive() which calls sbwait() > waiting on a UDP packet to be received.. That's fine. > Then, another nfs_request() is issued; calling nfs_receive() which > winds down to sbwait() as well. > Then, the udp packet from the first call is received; we wake up the > *second* caller and get everything out-of-sync. This is perfectly reasonable behavior for soreceive(). NFS is clearly broken here. NFS needs its own response-demultiplexing layer, it seems. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschickhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704171910.MAA28129>
