From owner-freebsd-fs@FreeBSD.ORG Tue Jan 11 21:46:33 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 A5BC610656A5 for ; Tue, 11 Jan 2011 21:46:33 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 4971A8FC17 for ; Tue, 11 Jan 2011 21:46:33 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9CD3A45CA6; Tue, 11 Jan 2011 22:46:31 +0100 (CET) Received: from localhost (89-73-192-49.dynamic.chello.pl [89.73.192.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 55F3C45C9B; Tue, 11 Jan 2011 22:46:26 +0100 (CET) Date: Tue, 11 Jan 2011 22:46:19 +0100 From: Pawel Jakub Dawidek To: Stef Walter Message-ID: <20110111214619.GF1812@garage.freebsd.pl> References: <4D2B8616.4000503@memberwebs.com> <4D2B89C4.8080300@memberwebs.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3siQDZowHQqNOShm" Content-Disposition: inline In-Reply-To: <4D2B89C4.8080300@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 amd64 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: 'zfs list' does abort in make_dataset_handle 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: Tue, 11 Jan 2011 21:46:33 -0000 --3siQDZowHQqNOShm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 10, 2011 at 02:35:48PM -0800, Stef Walter wrote: > On 01/10/2011 02:20 PM, Stef Walter wrote: > > After a failed zfs receive, zfs list now aborts in make_dataset_handle() > > in libzfs.so.2. >=20 > The following patch suppresses the problem, and may give a clear > indication of how the problem manifests. I'd more threat such situation as if dds_inconsistent would be true and destroy/rollback offending dataset. Could you try something like that? --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3siQDZowHQqNOShm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk0sz6sACgkQForvXbEpPzRsewCeNBerJ5mH2h1njrZxWXhew0QH 0C0AoKhhYqWHSL2x2UL4EI/C8XraOgLk =vFb/ -----END PGP SIGNATURE----- --3siQDZowHQqNOShm--