[Bug 223803] zio_done() panic on system with cache devices
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 10 09:26:46 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223803
Demis <demis at yandex.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |demis at yandex.ru
--- Comment #8 from Demis <demis at 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 == zio);
ASSERT(zio->io_child_type > ZIO_CHILD_GANG);
- if (zio->io_child_error[ZIO_CHILD_GANG] == 0)
+ if (zio->io_child_error[zio_child(ZIO_CHILD_GANG)] == 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 != NULL) {
abd_copy(zio->io_abd, dde->dde_repair_abd,
zio->io_size);
- zio->io_child_error[ZIO_CHILD_DDT] = 0;
+ zio->io_child_error[zio_child(ZIO_CHILD_DDT)] = 0;
}
ddt_repair_done(ddt, dde);
zio->io_vsd = NULL;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list