Add minimal ZFS lock hierarchy

This commit is contained in:
kmacy 2009-05-20 02:51:48 +00:00
parent 5742509236
commit 879984a728

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