Re: NFS Client patch

Hans Reiser (reiser@namesys.com)
Wed, 18 Jul 2001 02:02:33 +0400


Andi Kleen wrote:
>
> Craig Soules <soules@happyplace.pdl.cmu.edu> writes:
>
> > Our system does automatic directory compaction through the use of a tree
> > structure, and so the cookie needs to be invalidated. Also, any other
> > file system whicih does immediate directory compaction would require this.
>
> Actually all the file systems who do that on Linux (JFS, XFS, reiserfs)
> have fixed the issue properly server side, by adding a layer that generates
> stable cookies. You should too.
>
> -Andi
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

I take issue with the word "properly". We have bastardized our FS design to do it. NFS should not
be allowed to impose stable cookie maintenance on filesystems, it violates layering. Simply
returning the last returned filename is so simple to code, much simpler than what we have to do to
cope with cookies. Linux should fix the protocol for NFS, not ask Craig to screw over his FS
design. Not that I think that will happen.....

Hans
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/