Date: Thu, 30 May 2002 15:04:18 -0700 (PDT) From: Semen Ustimenko <semenu@FreeBSD.org> 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 Message-ID: <200205302204.g4UM4Ir40192@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205302204.g4UM4Ir40192>