Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2015 04:17:23 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        "K. Macy" <kmacy@FreeBSD.org>, "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "svn-src-all@freebsd.org" <svn-src-all@FreeBSD.org>, "svn-src-head@freebsd.org" <svn-src-head@FreeBSD.org>, Xin Li <delphij@delphij.net>
Subject:   Re: svn commit: r285021 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <20150806021723.GB72832@garage.freebsd.pl>
In-Reply-To: <55BF6A84.1040808@FreeBSD.org>
References:  <201507020832.t628W3WJ002944@repo.freebsd.org> <CAHM0Q_OcLqT_VuxmL4tFrDyEhAEprm_ivP8j_mrow6ZG1FLcsg@mail.gmail.com> <55BF6A84.1040808@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--gj572EiMnwbLXET9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 03, 2015 at 04:20:04PM +0300, Andriy Gapon wrote:
> On 30/07/2015 10:24, K. Macy wrote:
> > Just FYI this change introduces a deadlock with with the
> > spa_namespace_lock. Mount will be holding this lock while trying to
> > acquire the spa_namespace_lock. zfskern on the other hand holds the
> > spa_namespace_lock when calling zfs_freebsd_access  which in turn
> > tries to acquire the teardown lock.
>=20
> I missed the fact that zpool.cache file is being written with spa_namespa=
ce_lock
> held.
> I'll try to either resolve the problem in the next day or I will revert t=
he change.

FYI, I'm hitting this deadlock on my laptop. Reverting the change fixes
the problem.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com

--gj572EiMnwbLXET9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJVwsOzAAoJEJVLhSuxKFt1+SIQAL4+NbsCTih0anW5tSCm2rVC
oQCgD0nUcG4GW6Wxu/qI0yIpBKRzjo7jOMAmHqb90URl6XodJYqCXJe4kI+swkEa
UzQD8PE0bWXCErxhnpneVTbuIyOQ3SodUeYedV7w00XJo+/3MJVzylUsxIgUQmGU
shne+El8bwP5RMEerxwNQNcRiEydtIS2BliSQE8mKWxRy+D4ORLJ2jjGXXf88l1g
phM1Ul+fGuGPg+EPhaRybblOqItCZJwuwr53QP+SV/6nncfz6eoYXDRzbF0AUoXL
Xu52qzfjR0uMy/1ZeX/B0cvX4Vbt6rnom+9aVcHCXz5hwLWOhRbwpnm0uQRFamHa
QXNWzADikJQjJyaD2DWreD355lTwywEIHeYsSIYpAlwQi61OTHrvty4U1iCUtLf6
SdPv6McI/GHQ9q8ID6noh6IWAI8c6sat+IlFwT/JSehJdfQQrMOIpVUj2tl7urjX
GNs/KIg6PocELbivLwPD6DsB7cbE5gPJPDBvFjM+prvyFvXo8Xm3DCBHPLreoBzI
/hZ/4EZNkLeHAG5wLLp1kqKLOTPKgERVaYukMedqQLO0LSk7prX7KQJaxo2QrIxH
UXvOOBKnUVVJCisFH8R3rT8pDiPYfNbowAxuJJeFJAHUrvyw5MXB15qw/5T/q74k
5CLuq7HhxP6UzclB//qj
=Sfu3
-----END PGP SIGNATURE-----

--gj572EiMnwbLXET9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150806021723.GB72832>