Add minimal ZFS lock hierarchy

This commit is contained in:
Kip Macy 2009-05-20 02:51:48 +00:00
parent a9ffff74c5
commit 126f8425c3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192416

View file

@ -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
*/