From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753893AbXDJVSx (ORCPT ); Tue, 10 Apr 2007 17:18:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753888AbXDJVSw (ORCPT ); Tue, 10 Apr 2007 17:18:52 -0400 Received: from pat.uio.no ([129.240.10.15]:40671 "EHLO pat.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753894AbXDJVSv (ORCPT ); Tue, 10 Apr 2007 17:18:51 -0400 Subject: Re: If not readdir() then what? From: Trond Myklebust To: Neil Brown Cc: Theodore Tso , =?ISO-8859-1?Q?J=F6rn?= Engel , "H. Peter Anvin" , Christoph Hellwig , Ulrich Drepper , Linux Kernel Mailing List In-Reply-To: <17947.64947.649081.411561@notabene.brown> References: <20070407233037.GA16508@infradead.org> <46193048.6000606@zytor.com> <20070408184129.GA20871@lazybastard.org> <20070408191955.GD29180@thunk.org> <46194260.3050900@zytor.com> <20070409014426.GA18580@thunk.org> <20070409110927.GA23240@lazybastard.org> <1176121897.6210.8.camel@heimdal.trondhjem.org> <20070409131918.GC18580@thunk.org> <1176127395.6210.34.camel@heimdal.trondhjem.org> <20070410135641.GG13650@thunk.org> <1176215836.14442.37.camel@heimdal.trondhjem.org> <17947.64947.649081.411561@notabene.brown> Content-Type: text/plain Date: Tue, 10 Apr 2007 17:18:34 -0400 Message-Id: <1176239914.309.54.camel@heimdal.trondhjem.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-UiO-Resend: resent X-UiO-Spam-info: not spam, SpamAssassin (score=-0.1, required=12.0, autolearn=disabled, AWL=-0.089) X-UiO-Scanned: AA514499219F6AF93A2D3F344C7638183733FF70 X-UiO-SPAM-Test: remote_host: 129.240.10.9 spam_score: 0 maxlevel 200 minaction 2 bait 0 mail/h: 257 total 972297 max/h 7466 blacklist 0 greylist 0 ratelimit 0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2007-04-11 at 07:12 +1000, Neil Brown wrote: > On Tuesday April 10, trond.myklebust@fys.uio.no wrote: > > The problem is that it is extremely hard to come up with an alternative > > that doesn't impose new conditions on what filesystems you can support. > > I seem to remember Hans Reiser making a credible suggestion years ago > when NFSv4 was still in draft. It didn't fly, but I don't really > remember why. > > The NFS server gets to either return a cookie like it currently does, > or sets a flag (or maybe returns a special cookie) which says 'just > use the name'. > A READDIR request contains either a cookie or a filename. Either mean > "This identifies the last name I got from you, give me the next one". > > Is there something that makes that interface problematic? File deletions... Cheers Trond