Date: Wed, 24 Sep 2008 18:51:33 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_cache.c src/sys/nfsclient nfs_vnops.c Message-ID: <200809241852.m8OIqkfW089041@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-09-24 18:51:33 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c sys/nfsclient nfs_vnops.c Log: SVN rev 183330 on 2008-09-24 18:51:33Z by jhb Part 1 of making shared lookups more resilient with respect to forced unmounts. When we upgrade a vnode lock from shared to exclusive during a name cache lookup, fail the lookup with EBADF if the vnode is invalidated while we are waiting for the exclusive lock. Also, for correctness (though I'm not sure it can occur in practice), downgrade an exclusively locked vnode if it should be share locked. Tested by: pho Revision Changes Path 1.126 +18 -8 src/sys/kern/vfs_cache.c 1.290 +4 -1 src/sys/nfsclient/nfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809241852.m8OIqkfW089041>