Date: Tue, 13 Apr 1999 09:16:07 -0700 From: Jason Thorpe <thorpej@nas.nasa.gov> To: Ville-Pertti Keinonen <will@iki.fi> Cc: hackers@freebsd.org Subject: Re: read() and pread() syscalls Message-ID: <199904131616.JAA20900@lestat.nas.nasa.gov>
next in thread | raw e-mail | index | archive | help
On 13 Apr 1999 10:39:33 +0300
Ville-Pertti Keinonen <will@iki.fi> wrote:
> I don't have a NetBSD machine around, but it might apply to NetBSD, as
> well, unless NetBSD keeps the vnode exclusively locked for the entire
> duration of a VOP_READ, even if it blocks.
There is no need to keep the _vnode_ locked; the file offset is not stored
in the vnode, but in the struct file that references that vnode.
-- Jason R. Thorpe <thorpej@nas.nasa.gov>
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?199904131616.JAA20900>
