Re: 2.6.16-rc6-mm1 (NFS tree ... busy inodes ... relativelyharmless)

From: Andrew Morton
Date: Sun Mar 12 2006 - 23:47:25 EST


Neil Brown <neilb@xxxxxxx> wrote:
>
> On Sunday March 12, akpm@xxxxxxxx wrote:
> >
> > - The NFS tree is a bit sick - you may see the `busy inodes - self destruct
> > in five seconds" message when performing NFS unmounts. It seems relatively
> > harmless.
>
> I think the term is "mostly harmless" ... see the entry for "Earth" in
> The Hitch-Hikers Guide To The Galaxy... :-)
>
> I don't believe this is harmless at all, and I have an oops to prove
> it - though it is with NFSv4 which is still EXPERIMENTAL.
>
> I don't believe it is an NFS bug at all, but a VFS bug. It happens
> more with NFS because iput on nfs can be a lot slower due to the
> required network activity, so the race is easier to hit.

It's 100% repeatable for me, with nfsv3 unmounts. First the busy inodes,
then a use-after-free oops if CONFIG_DEBUG_PAGEALLOC (if that workaround
patch I have in there isn't applied).

Not a race, methinks.

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