HomeFreeBSD

OpenZFS 7003 - zap_lockdir() should tag hold

Description

OpenZFS 7003 - zap_lockdir() should tag hold

zap_lockdir() / zap_unlockdir() should take a "void *tag" argument which
tags the hold on the zap. This will help diagnose programming errors
which misuse the hold on the ZAP.

Sponsored by: Intel Corp.

Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Pavel Zakharov <pavel.zakha@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

OpenZFS-issue: https://www.illumos.org/issues/7003
OpenZFS-commit: https://github.com/openzfs/openzfs/pull/108
Closes #4972

Details

Provenance
mahrensAuthored on Jul 20 2016, 10:39 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 19 2016, 7:35 PM
Parents
rGee6370a7a48e: Fix spa config generate memory leak in spa_load_best function
Branches
Unknown
Tags
Unknown

Event Timeline