Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2018 14:47:07 +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-JCVfm1RrSv@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

--- Comment #10 from commit-hook@freebsd.org ---
A commit references this bug:

Author: avg
Date: Thu Feb 15 14:46:30 UTC 2018
New revision: 329314
URL: https://svnweb.freebsd.org/changeset/base/329314

Log:
  MFV r329313: 8857 zio_remove_child() panic due to already destroyed parent
zio

  illumos/illumos-gate@d6e1c446d7897003fd9fd36ef5aa7da350b7f6af
=20
https://github.com/illumos/illumos-gate/commit/d6e1c446d7897003fd9fd36ef5aa=
7da350b7f6af

  https://www.illumos.org/issues/8857
    I had an OS panic on one of our servers:

    ffffff01809128c0 vpanic()
    ffffff01809128e0 mutex_panic+0x58(fffffffffb94c904, ffffff597dde7f80)
    ffffff0180912950 mutex_vector_enter+0x347(ffffff597dde7f80)
    ffffff01809129b0 zio_remove_child+0x50(ffffff597dde7c58, ffffff32bd901a=
c0,
    ffffff3373370908)
    ffffff0180912a40 zio_done+0x390(ffffff32bd901ac0)
    ffffff0180912a70 zio_execute+0x78(ffffff32bd901ac0)
    ffffff0180912b30 taskq_thread+0x2d0(ffffff33bae44140)
    ffffff0180912b40 thread_start+8()

    It panicked here:
    http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/fs/z=
fs/
    zio.c#430

    pio->io_lock is DEAD, thus a panic. Further analysis shows the "pio"
    (parent zio of "cio") has already been destroyed.

  Reviewed by: Matthew Ahrens <mahrens@delphix.com>
  Reviewed by: Andriy Gapon <avg@FreeBSD.org>
  Reviewed by: Youzhong Yang <youzhong@gmail.com>
  Approved by: Dan McDonald <danmcd@omniti.com>
  Author: George Wilson <george.wilson@delphix.com>

  PR:           223803
  Tested by:    shiva.bhanujan@quorum.com
  MFC after:    2 weeks

Changes:
_U  head/sys/cddl/contrib/opensolaris/
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c

--=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-JCVfm1RrSv>