[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v9 22/34] qcow2: Add subcluster support to zero_in_l2_slice()
From: |
Max Reitz |
Subject: |
Re: [PATCH v9 22/34] qcow2: Add subcluster support to zero_in_l2_slice() |
Date: |
Thu, 2 Jul 2020 14:56:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
On 28.06.20 13:02, Alberto Garcia wrote:
> The QCOW_OFLAG_ZERO bit that indicates that a cluster reads as
> zeroes is only used in standard L2 entries. Extended L2 entries use
> individual 'all zeroes' bits for each subcluster.
>
> This must be taken into account when updating the L2 entry and also
> when deciding that an existing entry does not need to be updated.
>
> Signed-off-by: Alberto Garcia <berto@igalia.com>
> Reviewed-by: Eric Blake <eblake@redhat.com>
> ---
> block/qcow2-cluster.c | 36 +++++++++++++++++++-----------------
> 1 file changed, 19 insertions(+), 17 deletions(-)
Reviewed-by: Max Reitz <mreitz@redhat.com>
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v9 22/34] qcow2: Add subcluster support to zero_in_l2_slice(),
Max Reitz <=