Re: Trouble with NFS with -mm3, -mm4, and -mm5

From: Neil Brown
Date: Sun May 23 2004 - 00:38:26 EST


On Saturday May 22, maillist@xxxxxxxxx wrote:
> ext3. It works under the standard 2.6.6 without the mm patches

Hmmm.... I hit the exact same BUG in dcache.h in a completely
different circumstance (during readlink("/proc/self/exe") in perl).
It was on ext3 in a recent -mm, but had no connection with nfs.


I'm wondering if something in recent dcache or ext3 patches have
caused us to end up with negative d_count on a dentry. This could
cause the line 276 BUG_ON to happen at weird places.

Could you try changing that line from

BUG_ON(!atomic_read(&dentry->d_count));

to

BUG_ON(atomic_read(&dentry->d_count) <= 0);

and see if that make it fall over more quickly?

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