[PATCH 0/4] Display thin lv's from a logical vg

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

 



While I know not the preferred mechanism for Jan, these patches
provide a means to display thin lv data from a volume group including
the source thin-pool name and thin-pool capacity. Since a thin-pool
and a thin lv are just members of the vg, it just feels natural to
display whatever is in the volume group because a logical pool
comprises all the volumes within the vg.

Even if not accepted, some concepts can be used as a bases for a
single thin-pool to libvirt pool relationship.

There are no changes to virsh vol-list --details or virsh vol-info
to display the thin-pool capacity. If one self adds all the capacity
values in the vol-list --details display, they will determine that the
sum is larger than the virsh pool-info output for the volume group.
Although that's even true prior to these patches since the thin data
is not displayed in the vol-list output, but is accounted for in the
pool-info output, thus the sum of the vol-list capacity details are less.


John Ferlan (4):
  vol: Add new elements to _virStorageVolSource for thin lv
  logical: Add capability to get the thin pool name
  logical: Add thin-pool look-aside list
  logical: Display thin lv's found in a libvirt managed volume group

 docs/formatstorage.html.in                      |   9 ++-
 docs/schemas/storagevol.rng                     |  14 ++++
 src/conf/storage_conf.c                         |  11 +++
 src/conf/storage_conf.h                         |  15 ++++
 src/storage/storage_backend_logical.c           | 100 +++++++++++++++++++-----
 tests/storagevolxml2xmlin/vol-logical-thin.xml  |  20 +++++
 tests/storagevolxml2xmlout/vol-logical-thin.xml |  17 ++++
 tests/storagevolxml2xmltest.c                   |   1 +
 8 files changed, 166 insertions(+), 21 deletions(-)
 create mode 100644 tests/storagevolxml2xmlin/vol-logical-thin.xml
 create mode 100644 tests/storagevolxml2xmlout/vol-logical-thin.xml

-- 
2.5.0

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