Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 21:50:45 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Mark Santcroos <marks@ripe.net>
Cc:        Ian Dowse <iedowse@maths.tcd.ie>, Garance A Drosihn <drosih@rpi.edu>, <freebsd-hackers@FreeBSD.ORG>, <emulation@FreeBSD.ORG>
Subject:   Re: vmware reads disk on non-sector boundary
Message-ID:  <20021003214616.B3519-100000@gamplex.bde.org>
In-Reply-To: <20021003081152.GB584@laptop.6bone.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sector size>
times slower than they should be.

Bruce


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?20021003214616.B3519-100000>