From owner-freebsd-current@FreeBSD.ORG Wed Jun 27 07:06:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD4C816A41F for ; Wed, 27 Jun 2007 07:06:24 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 6342C13C447 for ; Wed, 27 Jun 2007 07:06:24 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 80992456AB; Wed, 27 Jun 2007 09:06:23 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 66EB645684; Wed, 27 Jun 2007 09:06:19 +0200 (CEST) Date: Wed, 27 Jun 2007 09:06:18 +0200 From: Pawel Jakub Dawidek To: Doug Rabson Message-ID: <20070627070618.GC21749@garage.freebsd.pl> References: <46813AF4.4020004@crc.u-strasbg.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TYecfFk8j8mZq+dy" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: Philippe Pegon , current@freebsd.org Subject: Re: nfs on zfs panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 07:06:24 -0000 --TYecfFk8j8mZq+dy Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 26, 2007 at 06:10:44PM +0100, Doug Rabson wrote: > It looks like nvp is NULL at the point where it crashed. Looking at the z= fs code, zfs_vget always returns zero, even if it failed to find a vnode wh= ich matches the given=20 > 'inode' number. Try changing the return statement in zfs_vget from 'retur= n (0)' to 'return (err)'. Your analysis is correct, can you commit this? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --TYecfFk8j8mZq+dy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGggxqForvXbEpPzQRAtS9AJ0eC1XU1PFoAjnfN2OBqX1ZXRBB6wCg2tf1 nyIfDJBNlLowKulFaytZYqc= =/rgg -----END PGP SIGNATURE----- --TYecfFk8j8mZq+dy--