[libvirt] [PATCHv4 6/8] storage: improve allocation stats reported on gluster files

Daniel P. Berrange berrange at redhat.com
Mon Nov 25 15:57:04 UTC 2013


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 at redhat.com>
> ---
>  src/storage/storage_backend.c         | 8 ++++----
>  src/storage/storage_backend_gluster.c | 7 ++++++-
>  2 files changed, 10 insertions(+), 5 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list