qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH v3 02/10] qcow2: compressed read: simplify cluster descriptor


From: Hanna Reitz
Subject: Re: [PATCH v3 02/10] qcow2: compressed read: simplify cluster descriptor passing
Date: Mon, 13 Sep 2021 17:15:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 24.05.21 16:20, 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>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
---
  block/qcow2.h         |  1 -
  block/qcow2-cluster.c |  5 ++---
  block/qcow2.c         | 12 +++++++-----
  3 files changed, 9 insertions(+), 9 deletions(-)

Reviewed-by: Hanna Reitz <hreitz@redhat.com>




reply via email to

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