]> git.proxmox.com Git - mirror_zfs.git/commit
Change VERIFY to ASSERT in mutex_destroy()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 30 Oct 2014 18:11:00 +0000 (11:11 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 11 Feb 2015 21:58:40 +0000 (13:58 -0800)
commit340dfbe193193be6a3d301d8111de232cd537ddd
treee337be14caa39304b2afa7cceea1454e7d503814
parent5f15fa22167ff665d0db0159551eb90759683984
Change VERIFY to ASSERT in mutex_destroy()

There have been multiple reports of 'zdb' tripping the VERIFY in
mutex_destroy() because pthread_mutex_destroy() returns EBUSY.

Exactly how this can happen still needs to be explained, but this
doesn't strictly need to be fatal for non-debug builds.  Therefore,
this patch converts the VERIFY to an ASSERT until the root cause
is determined and resolved.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2027
lib/libzpool/kernel.c