From owner-svn-src-all@FreeBSD.ORG Wed May 20 02:51:49 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 307811065679; Wed, 20 May 2009 02:51:49 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1EAB38FC15; Wed, 20 May 2009 02:51:49 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4K2pnKk016842; Wed, 20 May 2009 02:51:49 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4K2pnAG016841; Wed, 20 May 2009 02:51:49 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200905200251.n4K2pnAG016841@svn.freebsd.org> From: Kip Macy Date: Wed, 20 May 2009 02:51:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192416 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 02:51:49 -0000 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