|
From: | Peter Lieven |
Subject: | Re: [Qemu-devel] [PATCH 1/5] block/vpc: optimize vpc_co_get_block_status |
Date: | Tue, 24 Feb 2015 07:41:36 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Am 23.02.2015 um 19:08 schrieb Max Reitz:
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:
Will add in v2. Peter
Reviewed-by: Max Reitz <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |