From owner-freebsd-fs@FreeBSD.ORG Fri Oct 30 23:28:14 2009 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 8E6F8106566C for ; Fri, 30 Oct 2009 23:28:14 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077035009.chello.pl [89.77.35.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9919C8FC18 for ; Fri, 30 Oct 2009 23:28:13 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 30A9245E11; Sat, 31 Oct 2009 00:28:11 +0100 (CET) Received: from localhost (chello089077035009.chello.pl [89.77.35.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id F286A45CBA; Sat, 31 Oct 2009 00:28:05 +0100 (CET) Date: Sat, 31 Oct 2009 00:28:05 +0100 From: Pawel Jakub Dawidek To: stef@memberwebs.com Message-ID: <20091030232805.GA2996@garage.freebsd.pl> References: <804B79F6-27CE-40D2-8AB8-6FC378F448FA@sarenet.es> <4AEA0EAD.1050302@memberwebs.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <4AEA0EAD.1050302@memberwebs.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: 8.0-RC2: ZFS deadlock with zfs receive 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, 30 Oct 2009 23:28:14 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 29, 2009 at 03:52:45PM -0600, Stef Walter wrote: > Borja Marcos wrote: > > I've been sending some alltraces to pjd about this easy to reproduce > > problem. I am using zfs send/zfs receive to replicate a dataset from one > > server to another. At 1 minute intervals, an incremental snapshot is > > sent to update the dataset copy. If there is reading activity on the > > dataset copy, a deadlock can happen rendering ZFS and all the FS > > subsystem unusable. I've tried with 8.0RC2 and it still happens. I was able to reproduce it, but I don't have fix yet. > FWIW, another (or the same) zfs recv deadlock I've been trying to get to > the bottom of: >=20 > http://lists.freebsd.org/pipermail/freebsd-fs/2009-October/006999.html Could you guys recompile your kernel after uncommenting line: #CFLAGS+=3D-DDEBUG=3D1 in sys/modules/zfs/Makefile? You should see panic on assertion instead of deadlock, I believe. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFK63aEForvXbEpPzQRApycAJ45492n8fdkSgJqrkeTVgUouET/SwCgoj82 QwcsIo1WEIz0Q77WVm7jSAM= =7YXH -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--