On 07/11/2012 10:30 AM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)redhat.com>
When calling 'lvcreate' if specifying both the '-L' and
'--virtualsize' options, the latter will be treated as
the capacity and the former as the allocation. This can
be used to support sparse volume creation. In addition,
when listing volumes it is neccessary to include the 'size'
s/neccessary/necessary/
field in lvs output, so that we can detect sparse volume
allocation correctly.
---
src/storage/storage_backend_logical.c | 27 ++++++++++++++++++---------
1 files changed, 18 insertions(+), 9 deletions(-)
ACK.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org