[PATCH 5/4] xfs: fix nfs export of 64-bit inodes numbers on 32-bit kernels
Ben Myers
bpm at sgi.com
Tue Dec 6 10:39:13 CST 2011
On Fri, Dec 02, 2011 at 12:29:08PM -0500, Christoph Hellwig wrote:
> On Fri, Dec 02, 2011 at 10:07:12AM -0600, Ben Myers wrote:
> > To what extent did you test this one? Anything in particular I should
> > look for when I test it?
>
> Create a large filesystem, mount it using -o inode64 on a 32-bit kernel,
> find an inode that actually uses more than 32-bits, and try to access
> it from an nfs client.
>
> Alternatively you could probably reproduce it using the open by handle
> system calls, I have an idea how to turn that into a test case for
> xfstests using a large loopback filesystem.
I tested this on a pair of i386 boxes with a large loop filesystem and
inode64. Without the fix I got ESTALE on any inodes > 32 bits, and with
the patch it works great.
Signed-off-by: Ben Myers <bpm at sgi.com>
More information about the xfs
mailing list