From owner-freebsd-emulation Thu Oct 3 4:41:33 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B76537B406; Thu, 3 Oct 2002 04:41:32 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C572F43E42; Thu, 3 Oct 2002 04:41:30 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id VAA15978; Thu, 3 Oct 2002 21:41:06 +1000 Date: Thu, 3 Oct 2002 21:50:45 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Mark Santcroos Cc: Ian Dowse , Garance A Drosihn , , Subject: Re: vmware reads disk on non-sector boundary In-Reply-To: <20021003081152.GB584@laptop.6bone.nl> Message-ID: <20021003214616.B3519-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 3 Oct 2002, Mark Santcroos wrote: > I have an almost-ready patch that implements linux_read() syscall. This > will check if we are reading from a raw disk and in that case it will > enlarge the read() to the next sector boundary. I have it working in the > kernel but I have problems returning the right read buffer to userland. Unbreaking block devices would be a better solution. Without buffering, reads of raw disks using an unbuffered linux_read() might be times slower than they should be. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message