[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/10] qcow2: compressed read: simplify cluster descriptor pa
From: |
Eric Blake |
Subject: |
Re: [PATCH 02/10] qcow2: compressed read: simplify cluster descriptor passing |
Date: |
Tue, 4 May 2021 14:20:06 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 5/4/21 10:20 AM, Vladimir Sementsov-Ogievskiy wrote:
> Let's pass the whole L2 entry and not bother with
> L2E_COMPRESSED_OFFSET_SIZE_MASK.
>
> It also helps further refactoring that adds generic
> qcow2_parse_compressed_l2_entry() helper.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> ---
> block/qcow2.h | 1 -
> block/qcow2-cluster.c | 5 ++---
> block/qcow2.c | 12 +++++++-----
> 3 files changed, 9 insertions(+), 9 deletions(-)
>
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
- Re: [PATCH 07/10] qcow2-refcount: check_refcounts_l2(): check reserved bits, (continued)