From owner-freebsd-fs@FreeBSD.ORG Fri Sep 2 07:15:46 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC9AF106566B; Fri, 2 Sep 2011 07:15:46 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 5303D8FC14; Fri, 2 Sep 2011 07:15:46 +0000 (UTC) Received: from localhost (58.wheelsystems.com [83.12.187.58]) by mail.dawidek.net (Postfix) with ESMTPSA id 81235371; Fri, 2 Sep 2011 09:15:44 +0200 (CEST) Date: Fri, 2 Sep 2011 09:15:23 +0200 From: Pawel Jakub Dawidek To: Martin Matuska Message-ID: <20110902071523.GB1660@garage.freebsd.pl> References: <1314646728.7898.44.camel@pow> <4E5BFC6F.5080507@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VrqPEDrXMn8OVzN4" Content-Disposition: inline In-Reply-To: <4E5BFC6F.5080507@FreeBSD.org> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org, tech@hybrid-logic.co.uk, luke@hybrid-logic.co.uk Subject: Re: ZFS hang in production on 8.2-RELEASE X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2011 07:15:46 -0000 --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 29, 2011 at 10:54:07PM +0200, Martin Matuska wrote: > On 29. 8. 2011 21:55, Artem Belevich wrote: > > It sounds like the bug Martin Matuska has recently fixed in FreeBSD > > and reported upstream to Illumos: > > https://www.illumos.org/issues/1313 > > > > The fix has been MFC'ed to 8-STABLE r224647 on Aug 4th. > > > > --Artem > No, I think this is more likely fixed by pjd's bugfix in r224791 (MFC'ed > to stable/8 as r225100). >=20 > The corresponding patch is: > http://people.freebsd.org/~pjd/patches/zfsdev_state_lock.patch My patch fixes deadlock when there is some activity in vdevs handlings (like removal of disk from the pool or something like that). The bug reported is definiately related to force unmount while file system is loaded. I've spend a lot of time trying to get forcible unmounts right, which is not an easy task, believe me, but it is possible the deadlock is already fixed in v28. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --VrqPEDrXMn8OVzN4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk5ggosACgkQForvXbEpPzTKeQCdFik3mew907gBOnvRpULE2u1r WgkAoLma6L6SccDqqo4r9EMHjl4lbY9O =QJSl -----END PGP SIGNATURE----- --VrqPEDrXMn8OVzN4--