forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ZFS deadlock on db_mtx and dn_holds
Illumos 5056 was intended to fix this deadlock, but it addressed it in a manner that added significant complexity without much in terms of documented gains aside from fixing the deadlock. It also introduced a runtime failure when assertions were enabled. It has been reverted in favor of this simpler solution where we protect user callbacks with a new db_user_mtx that allows us to drop the db_mtx during the callback. Signed-off-by: Richard Yao <[email protected]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters