This series is a result of looking at Joe's comments :
http://www.redhat.com/archives/libvir-list/2016-January/msg00403.html
To an old series I posted and has been stuck on the bottom of a todo
list regarding adding/using "thin" logical volumes:
http://www.redhat.com/archives/libvir-list/2014-December/msg00706.html
Joe's patch is refactord into two patches to do essentially the same thing,
but add a bit more context/thoughts.
The first two patches have no functional changes, just some comment
changes and some code motion.
The result of Joe's patches is that libvirt can find a thin logical
volume if the libvirt pool looking at the containing volume group has
a thin logical volume pool.
Still to be done is the (cap)ability to create a thin logical volume
pool and the thin logical volume(s) in the pool. Just figured it'd be
easier to post some patches and to let discussion happen.
Joe Harvell (2):
logical: Remove need for 'segtype' field
logical: Adjust regex for devices
John Ferlan (2):
logical: Fix comment examples for virStorageBackendLogicalFindLVs
logical: Create helper virStorageBackendLogicalParseVolDevice
src/storage/storage_backend_logical.c | 237 +++++++++++++++++++---------------
1 file changed, 130 insertions(+), 107 deletions(-)
--
2.5.0