Re: [libvirt] [PATCH] [v2] storage: Round up capacity for LVM volume creation

2011-01-27 Thread Daniel Veillard
On Mon, Jan 24, 2011 at 10:22:31PM +0800, Osier Yang wrote: If vol-capacity is odd, the capacity will be rounded down by devision, this patch is to round it up instead of rounding down, to be safer in case of one writes to the volume with the size he used to create. *

[libvirt] [PATCH] [v2] storage: Round up capacity for LVM volume creation

2011-01-24 Thread Osier Yang
If vol-capacity is odd, the capacity will be rounded down by devision, this patch is to round it up instead of rounding down, to be safer in case of one writes to the volume with the size he used to create. * src/storage/storage_backend_logical.c --- src/storage/storage_backend_logical.c |5