Project

General

Profile

Bug #4347

ZPL can use dmu_tx_assign(TXG_WAIT)

Added by Brandon Baker almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2013-11-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Originally filed by Matt Ahrens:

The ZPL can use dmu_tx_assign(TXG_WAIT) when it is not holding any locks.  This
simplifies the code path and reduces the amount of code that needs to be re-run
after waiting.  This reduces lock contention and CPU time.

History

#1

Updated by Christopher Siden almost 6 years ago

  • Status changed from In Progress to Closed
commit e722410c49fe67cbf0f639cbcc288bd6cbcf7dd1
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   Tue Nov 26 13:47:33 2013

    4347 ZPL can use dmu_tx_assign(TXG_WAIT)
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Adam Leventhal <ahl@delphix.com>
    Reviewed by: Dan McDonald <danmcd@nexenta.com>
    Reviewed by: Boris Protopopov <boris.protopopov@nexenta.com>
    Approved by: Dan McDonald <danmcd@nexenta.com>

Also available in: Atom PDF