Add lvm lvseg properties for lvm2app.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Add lvseg_t to lvm2app and lvm_lv_list_lvsegs().liblvm/ liblvm/ | +58 | 0 replies | |
| 2/4 | Add lvseg 'get' functions.lib/ lib/ lib/ +2 more | +70 | 2 replies | |
| 3/4 | Add lvm_lvseg_get_property() function.liblvm/ liblvm/ liblvm/ +3 more | +57 | 1 reply | |
| 4/4 | Update tests for lvseg apis.test/ | +39 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/04] Add lvm lvseg properties for lvm2app.
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.