From owner-svn-src-head@freebsd.org Thu Aug 6 02:15:33 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 6BAB99B2A8A; Thu, 6 Aug 2015 02:15:33 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 35EAD1FE6; Thu, 6 Aug 2015 02:15:32 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from localhost (unknown [91.206.210.19]) by mail.dawidek.net (Postfix) with ESMTPSA id 5D777F9C; Thu, 6 Aug 2015 04:15:31 +0200 (CEST) Date: Thu, 6 Aug 2015 04:17:23 +0200 From: Pawel Jakub Dawidek To: Andriy Gapon Cc: "K. Macy" , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" , Xin Li Subject: Re: svn commit: r285021 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <20150806021723.GB72832@garage.freebsd.pl> References: <201507020832.t628W3WJ002944@repo.freebsd.org> <55BF6A84.1040808@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gj572EiMnwbLXET9" Content-Disposition: inline In-Reply-To: <55BF6A84.1040808@FreeBSD.org> X-OS: FreeBSD 11.0-CURRENT amd64 User-Agent: Mutt/1.5.23 (2014-03-12) 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: Thu, 06 Aug 2015 02:15:33 -0000 --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--