From owner-freebsd-hackers Wed Oct 23 01:41:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA06116 for hackers-outgoing; Wed, 23 Oct 1996 01:41:28 -0700 (PDT) Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA06105 for ; Wed, 23 Oct 1996 01:41:24 -0700 (PDT) Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ax21221; 23 Oct 96 9:37 BST Received: from nlsys.demon.co.uk ([158.152.125.33]) by relay-3.mail.demon.net id aa08188; 23 Oct 96 9:35 BST Received: from localhost (dfr@localhost) by nlsys.demon.co.uk (8.7.6/8.6.9) with SMTP id JAA00477; Wed, 23 Oct 1996 09:35:11 +0100 (BST) Date: Wed, 23 Oct 1996 09:35:11 +0100 (BST) From: Doug Rabson Reply-To: Doug Rabson To: Terry Lambert cc: dfr@render.com, michaelh@cet.co.jp, karl@mcs.net, freebsd-hackers@freebsd.org Subject: Re: NFS node: disappearing directory In-Reply-To: <199610221719.KAA08106@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 22 Oct 1996, Terry Lambert wrote: > > > If it's in the client code, how does this enter into it? The client is > > > a real FS... > > > > The NFS protocol uses the cookies themselves. The NFS client code speaks > > the NFS protocol and therefore *must* use cookies. It does *not* use the > > extra cookie interface to the VOP_READDIR call. > > Ah. I see your problem. > > I was talking about the server problem caused by the search restart, > which *is* cookie related. There was no problem with the server (which was running BSDI as I remember, not FreeBSD). The problem was entirely with the client's handling of the NFS protocol directory seek cookies. The code which flushed cached local data when the directory was modified on the server was broken. -- Doug Rabson Mail: dfr@nlsys.demon.co.uk Phone: +44 181 951 1891