Subject: Re: LK_SHARED for VFS_VGET/FHTOVP
To: Jason Thorpe <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 05/26/2004 09:22:40
Content-Type: text/plain; charset=us-ascii
On Tue, May 25, 2004 at 11:52:56PM -0700, Jason Thorpe wrote:
> On May 25, 2004, at 11:15 PM, Bill Studenmund wrote:
> >Specifically with using exclusive locks, I think that the vnode system=
> >fine-grained. Perhaps not the best locking (we can get better=20
> >perhaps), but correct. By changing things so we need big-lock, we take=
> >step back.
> Why do you think that a shared lock requires use of the Biglock?
Because of the code in question was written assuming an exclusive lock,
not a shared one. ufs_update() for example. Also, currently, it's
documented to get an exclusive lock.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
-----END PGP SIGNATURE-----