Re: post 2.6.21 regression in F_GETLK

From: J. Bruce Fields
Date: Thu May 10 2007 - 17:04:35 EST


On Thu, May 10, 2007 at 05:01:05PM -0400, Doug Chapman wrote:
> You are partly right on the test however note that it is using a start
> and len that are specific to the RDLCK so that should _only_ conflict
> with that lock. I did notice that the LTP test is taking a new lock on
> the entire file which should be blocked by eithe rthe RDLCK or the WRLCK
> and it doesn't check both, I plan on fixing that once this is resolved.
>
> But, much more importantly F_GETLK is returning F_UNLCK saying that
> there was no conflict at all.

Argh, OK. I still can't see the problem yet, then. What filesystem is
this on?

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