Re: knfsd in recent 2.1.10x

Andi Kleen (ak@muc.de)
11 Jun 1998 11:44:32 +0200


"David S. Miller" <davem@dm.cobaltmicro.com> writes:

> Date: Wed, 10 Jun 1998 18:08:40 -0700
> From: Bill Hawes <whawes@transmeta.com>
>
> David S. Miller wrote:
>
> > Bill Hawes's changes break it completely on 64-bit machines due to the
> > filehandle not fitting in NFS_FHSIZE anymore... this needs to be fixed.
>
> Umm, not disagreeing that it needs to be fixed, but I didn't change the
> filehandle size.
>
> My knfsd patch just adds directory locking ...
>
> I remember seeing kdev_t changes and a comment alluding to "does
> everything still fit in the filehandle now???"

Actually I did the patch, not Bill Hawes (so blame me).

I'm a bit surprised that it does not work. From my calculations it should
have fit.

Ok, I see the problem now. sparc64 uses a 64bit ino_t.

Possible solutions:
- Add a ino32_t (I see sparc64 already has something like this for sparcv8
compatibility) and add conversion macros, and use these in knfsd.

- Or switch sparc64 to a 32bit ino_t. Is a 64bit ino_t really needed?

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu