From owner-freebsd-hackers Tue Apr 13 9:19:14 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by hub.freebsd.org (Postfix) with ESMTP id 3C25B15BAA for ; Tue, 13 Apr 1999 09:18:57 -0700 (PDT) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from lestat (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with ESMTP id JAA20900; Tue, 13 Apr 1999 09:16:08 -0700 (PDT) Message-Id: <199904131616.JAA20900@lestat.nas.nasa.gov> To: Ville-Pertti Keinonen Cc: hackers@freebsd.org Subject: Re: read() and pread() syscalls Reply-To: Jason Thorpe From: Jason Thorpe Date: Tue, 13 Apr 1999 09:16:07 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 13 Apr 1999 10:39:33 +0300 Ville-Pertti Keinonen 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message