Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 09:26:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 223803] zio_done() panic on system with cache devices
Message-ID:  <bug-223803-3630-m6cLPQ8IOd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223803-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223803-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223803

Demis <demis@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |demis@yandex.ru

--- Comment #8 from Demis <demis@yandex.ru> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223803-3630-m6cLPQ8IOd>