Re: Solved - How to change the FSINFO for nfsd?

From: Trond Myklebust
Date: Tue May 20 2008 - 09:12:25 EST


On Tue, 2008-05-20 at 16:15 +0800, P.V.Anthony wrote:
> Using xfs filesystem on a gentoo 64bit linux with 2.6.22 kernel,
> when mounting the FSINFO return got was 7f ff ff ff ff ff ff ff.
>
> Assuming that xfs is 64bit,
> the FSINFO returned is still not ff ff ff ff ff ff ff ff.
>
> Used wireshark to see the FSINFO return.
>
> P.V.Anthony

XFS is 64-bit, but file sizes are of type off_t or loff_t, and are
therefore _signed_.
0x7fffffffffffffff is therefore indeed the maximum allowed file size for
a 64-bit filesystem.

Trond

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