From owner-cvs-all Wed Dec 13 23:58:30 2000 From owner-cvs-all@FreeBSD.ORG Wed Dec 13 23:58:26 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from rina.r.dl.itc.u-tokyo.ac.jp (rina.r.dl.itc.u-tokyo.ac.jp [133.11.199.247]) by hub.freebsd.org (Postfix) with ESMTP id 945D737B400; Wed, 13 Dec 2000 23:58:25 -0800 (PST) Received: from rina.r.dl.itc.u-tokyo.ac.jp (localhost [127.0.0.1]) by rina.r.dl.itc.u-tokyo.ac.jp (8.11.1+3.4Wpre/3.7W-rina.r-0.1-11.01.2000) with ESMTP id eBE7wKC89704; Thu, 14 Dec 2000 16:58:21 +0900 (JST) Date: Thu, 14 Dec 2000 16:58:20 +0900 Message-ID: From: Seigo Tanimura To: bright@wintelcom.net Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, jhb@FreeBSD.org, cp@FreeBSD.org, tanimura@r.dl.itc.u-tokyo.ac.jp Subject: Re: cvs commit: src/sys/ufs/ffs ffs_vfsops.c In-Reply-To: In your message of "Thu, 14 Dec 2000 15:34:20 +0900" References: <200012131003.eBDA3rh34394@freefall.freebsd.org> <20001213024954.B16205@fw.wintelcom.net> User-Agent: Wanderlust/1.1.1 (Purple Rain) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) Organization: Digital Library Research Division, Information Techinology Centre, The University of Tokyo MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 14 Dec 2000 15:34:20 +0900, Seigo Tanimura said: Seigo> Thus it should be even better to enter to and exit from the ufs hash Seigo> mutex in the functions shown above. And the result was no go. The problems were o sleeping with holding a lock (for mutex), and o recursion of lock (for simplelock). lockmgr is likely to solve both of the problems, but I am not sure if it is worth trying. -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message