From: Trond Myklebust Subject: Re: htree+NFS (NFS client bug?) Date: 27 Nov 2002 21:42:14 +0100 Sender: linux-kernel-owner@vger.kernel.org Message-ID: References: <1038354285.1302.144.camel@sherkaner.pao.digeo.com> <20021127133318.GA8117@think.thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeremy Fitzhardinge , Ext2 devel , NFS maillist , Linux Kernel Return-path: To: Theodore Ts'o In-Reply-To: <20021127133318.GA8117@think.thunk.org> List-ID: >>>>> " " == Theodore Ts'o writes: > Well, even if the NFS server is generating bad cookies (and > that may be possible), the NFS client should be more robust and > not spin in a loop forever. No. In this case, the problem appears to be that the cookie issued by the server for the end of directory case is not unique. If userland calls an extra 'readdir()' after EOF is reached, then as far as the client is concerned, this sort of thing cannot be distinguished from readdir()+seekdir()+readdir().. Cheers, Trond