mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 17:25:09 +00:00
Add minimal ZFS lock hierarchy
This commit is contained in:
parent
a9ffff74c5
commit
126f8425c3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192416
|
@ -609,6 +609,13 @@ static struct witness_order_list_entry order_lists[] = {
|
|||
{ "struct mount mtx", &lock_class_mtx_sleep },
|
||||
{ "vnode interlock", &lock_class_mtx_sleep },
|
||||
{ NULL, NULL },
|
||||
/*
|
||||
* ZFS locking
|
||||
*/
|
||||
{ "dn->dn_mtx", &lock_class_sx },
|
||||
{ "dr->dt.di.dr_mtx", &lock_class_sx },
|
||||
{ "db->db_mtx", &lock_class_sx },
|
||||
{ NULL, NULL },
|
||||
/*
|
||||
* spin locks
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue