[PATCH 00/04] Add lvm lvseg properties for lvm2app.
Dave Wysochanski <[email protected]>
| Newsgroups | dev.linux.lists.lvm-devel |
|---|---|
| Message-ID | <[email protected]> |
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.