From owner-freebsd-fs@freebsd.org Wed Jan 10 09:26:46 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6B3EE7489B for ; Wed, 10 Jan 2018 09:26:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D16F6A9A9 for ; Wed, 10 Jan 2018 09:26:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8F33919701 for ; Wed, 10 Jan 2018 09:26:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0A9Qk7m010800 for ; Wed, 10 Jan 2018 09:26:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0A9Qkhj010799 for freebsd-fs@FreeBSD.org; Wed, 10 Jan 2018 09:26:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 223803] zio_done() panic on system with cache devices Date: Wed, 10 Jan 2018 09:26:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: demis@yandex.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 09:26:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223803 Demis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |demis@yandex.ru --- Comment #8 from Demis --- (In reply to Andriy Gapon from comment #6) How apply this patch on FreeBSD 11.1 amd64? uname -imrs FreeBSD 11.1-RELEASE-p6 amd64 GENERIC Errors: Hunk #7 failed at 2207. Hunk #10 failed at 2545. cat sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c.rej @@ -2193,7 +2207,7 @@ ASSERT(BP_IS_GANG(bp) && zio->io_gang_leader =3D=3D zio); ASSERT(zio->io_child_type > ZIO_CHILD_GANG); - if (zio->io_child_error[ZIO_CHILD_GANG] =3D=3D 0) + if (zio->io_child_error[zio_child(ZIO_CHILD_GANG)] =3D=3D 0) zio_gang_tree_issue(zio, zio->io_gang_tree, bp, zio->io_abd, 0); else @@ -2531,7 +2545,7 @@ if (dde->dde_repair_abd !=3D NULL) { abd_copy(zio->io_abd, dde->dde_repair_abd, zio->io_size); - zio->io_child_error[ZIO_CHILD_DDT] =3D 0; + zio->io_child_error[zio_child(ZIO_CHILD_DDT)] =3D 0; } ddt_repair_done(ddt, dde); zio->io_vsd =3D NULL; --=20 You are receiving this mail because: You are the assignee for the bug.=