Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 02:51:49 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192416 - head/sys/kern
Message-ID:  <200905200251.n4K2pnAG016841@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Wed May 20 02:51:48 2009
New Revision: 192416
URL: http://svn.freebsd.org/changeset/base/192416

Log:
  Add minimal ZFS lock hierarchy

Modified:
  head/sys/kern/subr_witness.c

Modified: head/sys/kern/subr_witness.c
==============================================================================
--- head/sys/kern/subr_witness.c	Wed May 20 02:48:53 2009	(r192415)
+++ head/sys/kern/subr_witness.c	Wed May 20 02:51:48 2009	(r192416)
@@ -610,6 +610,13 @@ static struct witness_order_list_entry o
 	{ "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
 	 */
 #ifdef SMP



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905200251.n4K2pnAG016841>