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: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 03/27] block/parallels: switch to bdrv_read
Date: Mon, 18 May 2015 17:11:08 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Apr 28, 2015 at 10:46:36AM +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.
> 
> Signed-off-by: Roman Kagan <address@hidden>
> Reviewed-by: Denis V. Lunev <address@hidden>
> Signed-off-by: Denis V. Lunev <address@hidden>
> CC: Kevin Wolf <address@hidden>
> CC: Stefan Hajnoczi <address@hidden>
> ---
>  block/parallels.c | 20 +++++++++++---------
>  1 file changed, 11 insertions(+), 9 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: pgpoddTJ15f60.pgp
Description: PGP signature


reply via email to

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