On 11/25/2013 08:57 AM, Daniel P. Berrange wrote:
On Fri, Nov 22, 2013 at 08:20:28PM -0700, Eric Blake wrote:
> We already had code for handling allocation different than
> capacity for sparse files; we just had to wire it up to be
> used when inspecting gluster images.
>
> * src/storage/storage_backend.c
> (virStorageBackendUpdateVolTargetInfoFD): Handle no fd.
> * src/storage/storage_backend_gluster.c
> (virStorageBackendGlusterRefreshVol): Handle sparse files.
>
> Signed-off-by: Eric Blake <eblake(a)redhat.com>
> ---
> src/storage/storage_backend.c | 8 ++++----
> src/storage/storage_backend_gluster.c | 7 ++++++-
> 2 files changed, 10 insertions(+), 5 deletions(-)
ACK
Pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org