From owner-cvs-all Thu May 30 15: 4:30 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4827837B408; Thu, 30 May 2002 15:04:18 -0700 (PDT) Received: (from semenu@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4UM4Ir40192; Thu, 30 May 2002 15:04:18 -0700 (PDT) (envelope-from semenu) Message-Id: <200205302204.g4UM4Ir40192@freefall.freebsd.org> From: Semen Ustimenko Date: Thu, 30 May 2002 15:04:18 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c src/sys/ufs/ufs ufs_extern.h ufs_ihash.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG semenu 2002/05/30 15:04:18 PDT Modified files: sys/ufs/ffs ffs_vfsops.c sys/ufs/ufs ufs_extern.h ufs_ihash.c Log: Remove lock from ffs_vget introduced by v1.24. Instead of locking the vnode creation globaly, we allow processes to create vnodes concurently. In case of concurent creation of vnode for the one ino, we allow processes to race and then check who wins. Assuming that concurent creation of vnode for same ino is really rare case, this is belived to be an improvement, as it just allows concurent creation of vnodes. Idea by: bp Reviewed by: dillon MFC after: 1 month Revision Changes Path 1.181 +31 -73 src/sys/ufs/ffs/ffs_vfsops.c 1.41 +1 -1 src/sys/ufs/ufs/ufs_extern.h 1.33 +26 -6 src/sys/ufs/ufs/ufs_ihash.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message