On Sat, Apr 17, 2010 at 08:05:45PM +0100, Stefan Hajnoczi wrote:
> I think there are still a lot of lseeks left because
> raw-posix.c:raw_pread_aligned() is implemented using lseek+read
> instead of pread.  Does anyone know the reasoning there or could
> pread() be used?

There's no good reason for it except maybe compatiblity to really
olh hosts that do not have pread/pwrite.  But given that AIO support
is now mandator and the AIO code uses pread/pwritev exclusively we
would have noticed if that's the case by now.



Reply via email to