From owner-freebsd-fs@FreeBSD.ORG Fri Aug 7 19:13:16 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 EC1EC10656A6 for ; Fri, 7 Aug 2009 19:13:16 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206049004.chello.pl [87.206.49.4]) by mx1.freebsd.org (Postfix) with ESMTP id 37A5E8FC16 for ; Fri, 7 Aug 2009 19:13:15 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 32E6445DD8; Fri, 7 Aug 2009 21:13:14 +0200 (CEST) Received: from localhost (chello087206049004.chello.pl [87.206.49.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 213FE45CD9; Fri, 7 Aug 2009 21:13:09 +0200 (CEST) Date: Fri, 7 Aug 2009 21:13:34 +0200 From: Pawel Jakub Dawidek To: Boris Kochergin Message-ID: <20090807191334.GA1814@garage.freebsd.pl> References: <4A78AA71.9050107@acm.poly.edu> <4A78AFB2.10103@acm.poly.edu> <20090805115621.GG1784@garage.freebsd.pl> <4A798A12.4070408@acm.poly.edu> <20090807073738.GA1607@garage.freebsd.pl> <20090807074400.GB1607@garage.freebsd.pl> <4A7C3002.8000003@acm.poly.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <4A7C3002.8000003@acm.poly.edu> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.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: ZFS RAID-Z panic on vdev failure + subsequent panics and hangs 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, 07 Aug 2009 19:13:17 -0000 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 07, 2009 at 09:45:38AM -0400, Boris Kochergin wrote: > Maybe my kgdb chops aren't up to par, but I can't seem to see what=20 > ab_prev points to: >=20 > (kgdb) up > #12 0xffffffff8103a9e7 in arc_evict (state=3DVariable "state" is not=20 > available. > ) at=20 > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs= /arc.c:1489 > 1489 if (recycle && ab->b_size !=3D bytes && > Current language: auto; currently c > (kgdb) list > 1484 LBOLT - ab->b_arc_access <=20 > arc_min_prefetch_lifespan)) { > 1485 skipped++; > 1486 continue; > 1487 } > 1488 /* "lookahead" for better eviction candidate */ > 1489 if (recycle && ab->b_size !=3D bytes && > 1490 ab_prev && ab_prev->b_size =3D=3D bytes) > 1491 continue; > 1492 hash_lock =3D HDR_LOCK(ab); > 1493 have_lock =3D MUTEX_HELD(hash_lock); > (kgdb) print ab > $13 =3D (arc_buf_hdr_t *) 0xffffff0003ebc410 > (kgdb) print ab->b_size > $14 =3D 1 > (kgdb) print bytes > $15 =3D 16384 > (kgdb) print ab_prev > No symbol "ab_prev" in current context. Yeah, that's strange indeed. Could you try: print ab->b_arc_node.list_prev print ab->b_arc_node.list_next --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKfHzeForvXbEpPzQRAifkAJsE/r1XUHmK6YlpetGXJyKwagTG7ACg5QbI 4l19ImcEfJgtsDs45NPpjCM= =DI5N -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC--