[lvm-devel] [PATCH 00/04] Add lvm lvseg properties for lvm2app.

Dave Wysochanski dwysocha at redhat.com
Tue Oct 19 13:24:52 UTC 2010


This patchset adds lvseg_t and lvm_lv_list_lvsegs() API to lvm2app,
then adds lvseg properties and API.  It was created on top of the
following patchset submitted earlier:
http://www.redhat.com/archives/lvm-devel/2010-October/msg00153.html

All lvseg properties are covered by this patch, with the exception of
'seg_pe_ranges' and 'devices'.

This patchset shows the basic approach to enumerating lvsegs, then
querying properties, very similar to the vg, lv, or pv.  Similar
APIs can be made to enumerate and query pvsegs, which would complete
the attribute patchset and allow all properties in the reports to
be queried.




More information about the lvm-devel mailing list