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

Eric Blake eblake at redhat.com
Mon Nov 25 19:51:26 UTC 2013


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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131125/f0dcf08f/attachment-0001.sig>


More information about the libvir-list mailing list