[libvirt] [PATCH 0/2] rbd: improvements to actual disk-usage calculation

jdillama@redhat.com posted 2 patches 5 years, 8 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190311153955.4131-1-dillaman@redhat.com
There is a newer version of this series
docs/formatstorage.html.in        | 13 ++++-
src/storage/storage_backend_rbd.c | 80 ++++++++++++++++++++++++++++---
2 files changed, 84 insertions(+), 9 deletions(-)
[libvirt] [PATCH 0/2] rbd: improvements to actual disk-usage calculation
Posted by jdillama@redhat.com 5 years, 8 months ago
From: Jason Dillaman <dillaman@redhat.com>

The RBD fast-diff feature can vastly reduce the amount of time needed
to calculate actual disk usage of volumes, but it might still be a 
slow operation for large RBD pools or pools with large RBD images.
Therefore, this feature should be able to be optionally disabled if
needed.

Additionally, the fast-diff feature can only be used if the fast-diff
map isn't flagged as invalid. Otherwise, librbd will silently perform
a costly block-by-block scan to calculate the disk usage.

Jason Dillaman (2):
  rbd: do not attempt to use fast-diff if it's marked invalid
  rbd: optionally disable actual disk-usage during pool/volume refresh

 docs/formatstorage.html.in        | 13 ++++-
 src/storage/storage_backend_rbd.c | 80 ++++++++++++++++++++++++++++---
 2 files changed, 84 insertions(+), 9 deletions(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list