From owner-svn-src-head@freebsd.org Mon Aug 3 13:30:12 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 835979B2B27 for ; Mon, 3 Aug 2015 13:30:12 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 42257F6E; Mon, 3 Aug 2015 13:30:11 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [84.44.210.35] (helo=fabiankeil.de) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZMFoG-00034X-FL; Mon, 03 Aug 2015 15:29:44 +0200 Date: Mon, 3 Aug 2015 15:29:45 +0200 From: Fabian Keil To: Andriy Gapon Cc: "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> <55BF6A84.1040808@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/BATTxX+=GyaRIl/vBJSHH+7"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 13:30:12 -0000 --Sig_/BATTxX+=GyaRIl/vBJSHH+7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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. 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--