[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: |
Vladimir Sementsov-Ogievskiy |
Subject: |
Re: [PATCH v4 09/30] qcow2: Add subcluster-related fields to BDRVQcow2State |
Date: |
Fri, 10 Apr 2020 12:45:55 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
17.03.2020 21: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,
exactly one subcluster per cluster...
with subcluster_size = cluster_size.
Signed-off-by: Alberto Garcia <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
--
Best regards,
Vladimir