[sheepdog] [PATCH] dog: fix to calculate a resizable max VDI size appropriately

Teruaki Ishizaki ishizaki.teruaki at lab.ntt.co.jp
Tue Feb 10 11:13:00 CET 2015


(2015/02/10 18:01), Liu Yuan wrote:
> On Tue, Feb 10, 2015 at 05:53:44PM +0900, Teruaki Ishizaki wrote:
>> A resizable max VDI size was fixed value, 4TB.
>>
>
> Why we max VDI size is 4TB if we have object size more than 4MB? I remember
> in the past max size is 4TB because object is 4MB.
>
Sorry for causing misunderstanding.

old sheepdog calculated max VDI size like following and
max VDI size was 4TB.

  max_VDI_size = SD_DATA_OBJ_SIZE * OLD_MAX_DATA_OBJS

Now sheepdog can change object size, so max VDI size should
be calculated with using specified object size.

This patch changes to calculate max VDI size from the object size.

Thanks,
Teruaki



More information about the sheepdog mailing list