Re: [reiserfs-list] Directory cookie issues

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Hans Reiser (reiser@namesys.com)
Date: 02/06/01-05:58:06 AM Z


Message-ID: <3A7FE6CE.28FC160@namesys.com>
Date: Tue, 06 Feb 2001 14:58:06 +0300
From: Hans Reiser <reiser@namesys.com>
Subject: Re: [reiserfs-list] Directory cookie issues

Eric Werme USG wrote:
> 
> Hans & mre commiserate:
>    > I must tell you that ReiserFS is not a friend of seekdir() either.  Breaking
>    > seekdir() is in all seriousness not such a bad thing to do.
> 
>    Though I certainly share the opinion that seekdir() is evil.
> 
> At least there's one thing in which we're all in agreement!  :-)
> 
>    Neil's notion of rewind and count filenames would at least allow
>    seekdir to work without generating an error.
> 
> While this would work okay with my example of readdir/delete/readdir,
> it would fail miserably on readdir/delete/seekdir/readdir.  Somehow,
> that doesn't bother me at all.  (And I wasn't the one that had to
> rewrite Tru64's directory code to make the Connectathon telldir test
> work!)
> 
>         -Ric Werme


The performance would be extremely poor for 100,000 entry directories.

Hans


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.2 : 03/04/05-01:48:32 AM Z CST