Re: nfs stale filehandle issues with 2.6.10-rc1 in-kernel server

From: J. Bruce Fields
Date: Mon Nov 08 2004 - 16:09:18 EST


On Tue, Nov 02, 2004 at 04:51:26PM -0500, J. Bruce Fields wrote:
> On Tue, Nov 02, 2004 at 02:49:53PM -0500, Jeff Garzik wrote:
> > I'm also seeing stale filehandle problems here in recent kernels.
> >
> > Setup: x86 or x86-64, TCP, NFSv4 compiled in to both server and client,
> > but not specified in mount options.
> >
> > This is readily reproducible with rsync -- I just boot to an earlier
> > version of the kernel on the NFS client, and the stale filehandle
> > problems go away.
>
> Are any of the people seeing these problems able to reproduce them with
> the no_subtree_check export option set?

I've finally managed to reproduce it here. It looks to me like it's
failing in nfsd_acceptable, so exporting with no_subtree_check (which
should probably be the default anyway) should eliminate the stale
filehandle errors. Still trying to figure out why this is happening,
though.

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