Date: 31 May 1999 16:15:57 +0300 From: Ville-Pertti Keinonen <will@iki.fi> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: hackers@freebsd.org Subject: Re: question about vnode and inode locking Message-ID: <86ogj1pegi.fsf@not.demophon.com> In-Reply-To: zzhang@cs.binghamton.edu's message of "30 May 1999 21:51:55 %2B0300" References: <Pine.GSO.3.96.990530143132.15418A-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
zzhang@cs.binghamton.edu (Zhihui Zhang) writes: > It seems to me that we can lock at the vnode layer AND at the inode layer. No, the inode lock is, in most cases, the vnode layer lock. It isn't obvious because the code assumes that any filesystem using vop_stdlock has a 'struct lock' as the first entry of the internal data pointed to by v_data. Very ugly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ogj1pegi.fsf>