Project

General

Profile

Bug #7003

zap_lockdir() should tag hold

Added by Matthew Ahrens over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2016-05-27
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

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.

History

#1

Updated by Electric Monk about 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit ae9727953cac4bd427aafd9f27458e401590bcb5

commit  ae9727953cac4bd427aafd9f27458e401590bcb5
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2016-08-30T19:07:20.000Z

    7003 zap_lockdir() should tag hold
    Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
    Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF