Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 1997 07:57:44 -0400 (EDT)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        ponds!labinfo.iet.unipi.it!luigi, ponds!lakes.water.net!rivers
Cc:        ponds!freefall.freebsd.org!freebsd-bugs
Subject:   Re: kern/3304: NFS V2 readdir hangs
Message-ID:  <199704181157.HAA07503@lakes.water.net>

next in thread | raw e-mail | index | archive | help

> > nfs_reply(). While I don't understand the code very well, it seems
> > to me that the initialization in line 933 should be moved outside
> > the retry loop, before line 923. Otherwise the locking cannot possibly
> > work because repeated calls to nfs_reply() use the same parameters.
> 
>  Well - what good eyes you have :-)  I didn't notice that...
> 
> 
> > 
> > Can someone (Dave ?) try the above fix and see if it works ?
> 
>  I'll give it a try later this morning (my time, EST ) and let you know.

 Ok - I've tried it out...
 
 I move the initialization of rep->r_mrep to be before the
tryagain: label, just as the other initializations were...

 Unfortunately; I still experience the hang...

 This problem seems to be  particular to readdir() - I'm wondering if 
readdir() is somehow doing an soreceive() without going through nfs_reply();
i.e. avoiding the nfs_rcvlock() somehow...

	- Dave Rivers -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704181157.HAA07503>