Add lvm vg and pv properties for lvm2app.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | Refactor metadata.[ch] into vg.[ch] for vg functions.include/ lib/ lib/ +4 more | +567 | 0 replies | |
| 2/20 | Refactor metadata.[ch] into pv.[ch] for pv functions.include/ lib/ lib/ +3 more | +300 | 0 replies | |
| 3/20 | Refactor metadata.[ch] into lv.[ch] for lv functions.include/ lib/ lib/ +3 more | +76 | 0 replies | |
| 4/20 | Add {pv|vg|lv}_attr_dup() functions and refactor 'disp' functions.lib/ lib/ lib/ +7 more | +202 | 0 replies | |
| 5/20 | Simplify logic to create 'attr' strings.lib/ lib/ lib/ | +13 | 0 replies | |
| 6/20 | Add id_format_and_copy() common function and call from _uuid_disp.lib/ lib/ lib/ | +18 | 0 replies | |
| 7/20 | Add pv_uuid_dup, vg_uuid_dup, and lv_uuid_dup, and call id_format_and_copy.lib/ lib/ lib/ +6 more | +23 | 0 replies | |
| 8/20 | Add tags_format_and_copy() common function and call from _tags_disp.lib/ lib/ lib/ | +28 | 0 replies | |
| 9/20 | Add pv_tags_dup, vg_tags_dup, lv_tags_dup functions that call tags_format_and_copy.lib/ lib/ lib/ +3 more | +18 | 0 replies | |
| 10/20 | Add supporting functions vg_name_dup, vg_fmt_dup, vg_system_id_dup.lib/ lib/ | +20 | 0 replies | |
| 11/20 | Make generic GET_*_PROPERTY_FN macros and define secondary macro for vg, pv, lv.lib/ | +23 | 1 reply | |
| 11/20 | Make generic GET_*_PROPERTY_FN macros and define secondary macro for vg, pv, lv. | +0 | 0 replies | |
| 12/20 | Add 'get' functions for vg fields.lib/ | +22 | 0 replies | |
| 13/20 | Add lvm_vg_get_property() generic vg property function.liblvm/ liblvm/ | +61 | 0 replies | |
| 14/20 | Add tests for lvm_vg_get_property().test/ | +33 | 0 replies | |
| 15/20 | Add pv_mda_size, pv_mda_free, and pv_used functions, call from 'disp' functions.lib/ lib/ lib/ | +56 | 0 replies | |
| 16/20 | Add pv_name_dup() and pv_fmt_dup() helper functions.lib/ lib/ | +14 | 0 replies | |
| 17/20 | Add pv 'get' functions for all pv properties.lib/ | +16 | 0 replies | |
| 18/20 | Add pv_get_property and create generic internal _get_property function.lib/ lib/ | +152 | 0 replies | |
| 19/20 | Add lvm_pv_get_property() generic function to obtain value of any pv property.liblvm/ liblvm/ | +44 | 0 replies | |
| 20/20 | Add pv_get_property to interactive test.test/ | +51 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/20] Add lvm vg and pv properties for lvm2app.
This patchset is a repost and add onto the previous patchset posted to lvm-devel on 9/15/2010. It continues that patchset and adds pv properties and addresses comments made on the vg patchset.
Notable changes:
1. Refactor parts of metadata.[ch] into {pv|vg|lv}.ch.
2. Added 'const' to 'get' object functions
3. Improve type safety on vg_get_property() and pv_get_property()
4. Add "_dup" suffix to helper functions that allocate/dup strings.
All vg and pv properties may now be queried with this patchset. The refactoring of metadata.[ch] into specific files was only done for functions related to report field calculations. In the future, further functionality may be moved to these specific files, and common functions will remain inside metadata.[ch].