Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2015 15:29:45 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@FreeBSD.org>
Subject:   Re: svn commit: r285021 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <25a69eb6.5dfe13af@fabiankeil.de>
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
--Sig_/BATTxX+=GyaRIl/vBJSHH+7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Andriy Gapon <avg@FreeBSD.org> 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.

BTW, there's another (unrelated) spa_namespace_lock issue in spa_import_roo=
tpool():
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198563

Fabian

--Sig_/BATTxX+=GyaRIl/vBJSHH+7
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

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

iEYEARECAAYFAlW/bMUACgkQBYqIVf93VJ2DzACgg46KzUgFHrfgrGpF6zSlWuWR
sEAAoIb7Aj1ueONatgiHwiooq5mqzsaU
=+qd2
-----END PGP SIGNATURE-----

--Sig_/BATTxX+=GyaRIl/vBJSHH+7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25a69eb6.5dfe13af>