Re: [PATCH v3 0/3] rbd: improvements to actual disk-usage calculation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/19/19 2:42 PM, jdillama@xxxxxxxxxx wrote:
From: Jason Dillaman <dillaman@xxxxxxxxxx>

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.

since v1:
- Moved RBD-unique refresh volume allocation override to shared storage
   pool attribute

sice v2:
- Moved attribute under new "<refresh><volume allocation='...'/></refresh>"
   elements.

Jason Dillaman (3):
   rbd: do not attempt to use fast-diff if it's marked invalid
   storage: optional 'refresh' elemement on pool
   rbd: optionally compute volume allocation from capacity

  docs/formatstorage.html.in                    | 27 ++++++++++++
  docs/schemas/storagecommon.rng                |  7 ++++
  docs/schemas/storagepool.rng                  | 23 ++++++++++
  src/conf/storage_conf.c                       | 27 ++++++++++++
  src/conf/storage_conf.h                       |  9 ++++
  src/storage/storage_backend_rbd.c             | 42 +++++++++++++++++--
  .../pool-rbd-refresh-volume-allocation.xml    | 15 +++++++
  .../pool-rbd-refresh-volume-allocation.xml    | 18 ++++++++
  tests/storagepoolxml2xmltest.c                |  1 +
  9 files changed, 165 insertions(+), 4 deletions(-)
  create mode 100644 tests/storagepoolxml2xmlin/pool-rbd-refresh-volume-allocation.xml
  create mode 100644 tests/storagepoolxml2xmlout/pool-rbd-refresh-volume-allocation.xml


I'm doing some tweaks (nothing serious), ACKing and pushing.

Congratulations on your first libvirt contribution!

Michal

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux