lock violation in unionfs (9.0-STABLE r230270)

Attilio Rao attilio at freebsd.org
Wed Feb 15 09:53:33 UTC 2012


2012/2/13, Pavel Polyakov <bsd at kobyla.org>:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=165087
>
> Occurs simply trying to use unionfs:
> mount -t unionfs -o noatime /usr /mnt
>
> insmntque: mp-safe fs and non-locked vp: 0xfffffe01d96704f0 is not
> exclusive locked but should be
> KDB: enter: lock violation

Pavel,
can you give a spin to this patch?:
http://www.freebsd.org/~attilio/unionfs_missing_insmntque_lock.patch

I think that the unlocking is due at that point as the vnode lock can
be switch later on.

Let me know what you think about it and what the test does.
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the freebsd-stable mailing list