[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Guest latency issues due to bdrv_check_byte_request
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] Guest latency issues due to bdrv_check_byte_request |
Date: |
Sat, 17 Apr 2010 21:40:09 +0200 |
User-agent: |
Mutt/1.3.28i |
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.