This was added long ago to support testing environments without a lot of disk
space.
Vish
On Apr 29, 2014, at 12:12 AM, Zhangleiqiang (Trump)
wrote:
> Hi, all:
>
> I find in some of the cinder backend volume drivers, there are codes in
> create_volume as follows:
>
> #cinder.volume.drivers.lvm
> def _sizestr(self, size_in_g):
>if int(size_in_g) == 0:
> return '100m'
>
> Similar codes also exist in ibm.gpfs, san.hp.hp_lefthand_cliq_proxy,
> san.solaris and huawei.ssh_common. I wonder why the "100M" is used here, from
> the git log I cannot find useful info.
>
> Thanks.
>
>
> --
> zhangleiqiang (Trump)
>
> Best Regards
>
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
signature.asc
Description: Message signed with OpenPGP using GPGMail
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev