[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 09/30] qcow2: Add subcluster-related fields to BDRVQcow2St
From: |
Max Reitz |
Subject: |
Re: [PATCH v4 09/30] qcow2: Add subcluster-related fields to BDRVQcow2State |
Date: |
Wed, 8 Apr 2020 13:12:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 17.03.20 19:16, Alberto Garcia wrote:
> This patch adds the following new fields to BDRVQcow2State:
>
> - subclusters_per_cluster: Number of subclusters in a cluster
> - subcluster_size: The size of each subcluster, in bytes
> - subcluster_bits: No. of bits so 1 << subcluster_bits = subcluster_size
>
> Images without subclusters are treated as if they had exactly one,
> with subcluster_size = cluster_size.
>
> Signed-off-by: Alberto Garcia <address@hidden>
> ---
> block/qcow2.h | 5 +++++
> block/qcow2.c | 5 +++++
> 2 files changed, 10 insertions(+)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH v4 09/30] qcow2: Add subcluster-related fields to BDRVQcow2State,
Max Reitz <=