qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/5] block/vpc: optimize vpc_co_get_block_status


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 1/5] block/vpc: optimize vpc_co_get_block_status
Date: Mon, 23 Feb 2015 13:08:25 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2015-02-23 at 09:27, Peter Lieven wrote:
*pnum can't be greater than s->block_size / BDRV_SECTOR_SIZE for allocated
sectors since there is always a bitmap in between.

Signed-off-by: Peter Lieven <address@hidden>
---
  block/vpc.c |   15 ++++++---------
  1 file changed, 6 insertions(+), 9 deletions(-)

I would like a comment about this in or above the "if (allocated)" in the do-while loop, but in any case:

Reviewed-by: Max Reitz <address@hidden>



reply via email to

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