Re: [Cluster-devel] Curious lockdep report

From: Steven Whitehouse
Date: Thu Jan 09 2014 - 11:33:30 EST


Hi,

On Thu, 2014-01-09 at 11:43 +0000, Steven Whitehouse wrote:
> Hi,
>
> I'm trying to track down the cause of the lockdep report which I've
> included below. It is a bit odd since it doesn't say which lock it
> refers to, although my suspicions are that it is the mapping's
> tree_lock. The other thing I know is that it goes away if I revert this
> patch:
>
> https://git.kernel.org/cgit/linux/kernel/git/steve/gfs2-3.0-nmw.git/commit/?id=70d4ee94b370c5ef54d0870600f16bd92d18013c
>
> However, it is not immediately obvious why, if the lockdep code is
> certain that there are no errors in the code, it needs to warn about
> missing annotation, nor is it clear what that annotation should be.
>
> The reproducer is simple - just mount a gfs2 filesystem with the latest
> gfs2 -nmw tree and with lockdep turned on (can be local, doesn't need to
> be clustered) and do mkdir.
>
> Any suggestions as to whats going wrong gratefully received :-)
>
> Steve.
>

Andy Price has solved the mystery... seems just to be some missing
initialisation for the address space in question. I'll get a patch sortd
out shortly,

Steve.



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