Re: [reiserfs-dev] Re: [PATCH] sparc32: wrong type of nlink_t

From: Chris Mason (mason@suse.com)
Date: Wed Sep 04 2002 - 19:49:11 EST


On Wed, 2002-09-04 at 20:36, Hans Reiser wrote:
> David S. Miller wrote:
>
> > From: Hans Reiser <reiser@namesys.com>
> > Date: Thu, 05 Sep 2002 00:31:36 +0400
> >
> > The proper fix should be to make the result of the limit
> > computation be accurately architecture specific.
> >
> >And then each and every Reiserfs partition is platform specific
> >and cannot be mounted onto another Linux platform.
> >
> >Creating such a restriction is a grave error.
> >
> >
> >
> >
> And you would cripple the 99% usage to aid those users who move disk
> drives physically over to a sparc box AND have more than 31k links to a
> file?

31k links to a file isn't really an issue, I really doubt anyone out
there is doing something like that.

31k links on a directory is a bigger problem, since each subdir is a
link. The good news is that reiserfs already works around this by
setting the link count to 1 and doing other checks to make sure a
directory really is empty.

My point isn't that we should not change the link max, it is that
changing the link max is not sufficient. Portability to sparc doesn't
matter one bit if it means breaking existing i386 users. Our disk
format has link counts > 32k, so any reiserfs fixes for this need to
expect those larger values on disk and play nicely with them.

-chris

-
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/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:23 EST