Re: [NFS client] NFS locks not released on abnormal process termination

From: Philippe Troin
Date: Mon Dec 08 2003 - 12:33:07 EST


Trond Myklebust <trond.myklebust@xxxxxxxxxx> writes:

> >>>>> " " == Kenny Simpson <theonetruekenny@xxxxxxxxx> writes:
>
> > So, this patch has not found its way into any kernel yet? Is
> > there anyone actively persuing this bug?
>
> Feel free. There are only so many hours in a day, and right now
> mine are pretty much overbooked with NFSv4 stuff...

Please note that this fix only mitigates the bug: it can still occur,
but much less frequently. Before this patch, nfsd would loose track of
the lock (see the enclosed program at the beginning of the thread)
after a few (<5) kills. With the patch, it takes sometimes as many as
300~500 kills before the bugs manifests itself.

Trond, do you think I should push the patch to Marcelo, or should I
wait for a better fix? I don't think Marcelo would accept a partial
fix. I would try to fix it myself, but I have no clue on the inner
workings of lockd/nfsd.

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