Re: cluster_size got from backup_calculate_cluster_size()

2020-05-21 Thread Derek Su
On 2020/5/22 上午4:53, Vladimir Sementsov-Ogievskiy wrote: 21.05.2020 21:19, John Snow wrote: On 5/21/20 5:56 AM, Derek Su wrote: Hi, The cluster_size got from backup_calculate_cluster_size(), MAX(BACKUP_CLUSTER_SIZE_DEFAULT, bdi.cluster_size), is 64K regardless of the target image's cluster

Re: cluster_size got from backup_calculate_cluster_size()

2020-05-21 Thread Vladimir Sementsov-Ogievskiy
21.05.2020 21:19, John Snow wrote: On 5/21/20 5:56 AM, Derek Su wrote: Hi, The cluster_size got from backup_calculate_cluster_size(), MAX(BACKUP_CLUSTER_SIZE_DEFAULT, bdi.cluster_size), is 64K regardless of the target image's cluster size. Not regardless -- but it is using 64K as a minimum

Re: cluster_size got from backup_calculate_cluster_size()

2020-05-21 Thread John Snow
On 5/21/20 5:56 AM, Derek Su wrote: > Hi, > > The cluster_size got from backup_calculate_cluster_size(), > MAX(BACKUP_CLUSTER_SIZE_DEFAULT, bdi.cluster_size), is 64K regardless > of the target image's cluster size. Not regardless -- but it is using 64K as a minimum. >

cluster_size got from backup_calculate_cluster_size()

2020-05-21 Thread Derek Su
Hi, The cluster_size got from backup_calculate_cluster_size(), MAX(BACKUP_CLUSTER_SIZE_DEFAULT, bdi.cluster_size), is 64K regardless of the target image's cluster size. For example: If the cluster size of source and target qcow2 images are both 16K, the 64K from backup_calculate_cluster_size