qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 03/27] block/parallels: switch to bdrv_read


From: Denis V. Lunev
Subject: Re: [Qemu-devel] [PATCH 03/27] block/parallels: switch to bdrv_read
Date: Wed, 22 Apr 2015 15:30:50 +0300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 22/04/15 15:23, Stefan Hajnoczi wrote:
On Wed, Mar 11, 2015 at 01:27:57PM +0300, Denis V. Lunev wrote:
From: Roman Kagan <address@hidden>

Switch the .bdrv_read method implementation from using bdrv_pread() to
bdrv_read() on the underlying file, since the latter is subject to i/o
throttling while the former is not.

Besides, since bdrv_read() operates in sectors rather than bytes, adjust
the helper functions to do so too.
Can this patch be dropped since "[PATCH 06/27] block/parallels: provide
_co_readv routine for parallels format driver" switches to
.bdrv_co_readv() anyway?

Stefan
this is not that easy. This patch changes seek_to_sector call and
in reality to drop it I have to merge patches 3, 4 and 6.
Besides that this patch has been written by my colleague and
I feel comfortable to preserve original Signed-off-by of him.

Den



reply via email to

[Prev in Thread] Current Thread [Next in Thread]