Skip to content

Add lvm vg and pv properties for lvm2app.

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19Add vg_attr() and lv_attr() functions.lib/metadata/metadata.c lib/metadata/metadata.h lib/report/report.c+175 -1550 replies
2/19Refactor pvstatus_disp to take pv argument and call common pv_attr function.lib/metadata/metadata.c lib/metadata/metadata.h lib/report/columns.h +1 more+26 -152 replies
2/19Refactor pvstatus_disp to take pv argument and call common pv_attr function.+0 -00 replies
3/19Add id_format_and_copy() uuid function to allocate and format a uuid.lib/uuid/uuid.c lib/uuid/uuid.h+17 -00 replies
4/19Call id_format_and_copy from _uuid_disp.lib/report/report.c+1 -61 reply
5/19Add pv_uuid, vg_uuid, and lv_uuid, and call id_format_and_copy.lib/metadata/metadata.c lib/metadata/metadata.h liblvm/lvm_lv.c +2 more+23 -230 replies
6/19Add tags_format_and_copy() common function to format tags strings.lib/metadata/metadata.c lib/metadata/metadata.h lib/report/report.c+28 -180 replies
7/19Add pv_tags, vg_tags, lv_tags functions that call tags_format_and_copy.lib/metadata/metadata.c lib/metadata/metadata.h+18 -00 replies
8/19Add GET_STR_PROPERTY_FN macro.lib/report/properties.c+9 -00 replies
9/19Add 'get' functions for a few vg string fields, vg_name, vg_fmt, vg_sysid.lib/report/properties.c+20 -30 replies
10/19Add vg_uuid, vg_attr, vg_tags 'get' functions.lib/report/properties.c+3 -30 replies
11/19Add lvm_vg_get_property() generic vg property function.liblvm/lvm2app.h liblvm/lvm_vg.c+61 -00 replies
12/19Add tests for lvm_vg_get_property().test/api/test.c+33 -00 replies
13/19Simplify logic to create 'attr' strings.lib/metadata/metadata.c+13 -580 replies
14/19Make generic GET_*_PROPERTY_FN macros and define secondary macro for vg, pv, lv.lib/report/properties.c+38 -260 replies
15/19Add pv_mda_size, pv_mda_free, and pv_used functions.lib/metadata/metadata.c lib/metadata/metadata.h lib/report/report.c+56 -250 replies
16/19Add pv 'get' functions for all pv properties.lib/report/properties.c+28 -160 replies
17/19Rename internal vg_get_property to more generic lvm_get_property.lib/report/properties.c lib/report/properties.h liblvm/lvm_vg.c+4 -42 replies
17/19Rename internal vg_get_property to more generic lvm_get_property.+0 -00 replies
17/19Rename internal vg_get_property to more generic lvm_get_property.+0 -00 replies
17/19Rename internal vg_get_property to more generic lvm_get_property.lib/report/properties.c lib/report/properties.h+22 -41 reply
18/19Add lvm_pv_get_property() generic function to obtain value of any pv property.liblvm/lvm2app.h liblvm/lvm_pv.c+44 -00 replies
19/19Add pv_get_property to interactive test.test/api/test.c+51 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/19] 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/9/2010. It continues that patchset and adds pv properties and addresses comments made on the vg patchset.

Notable changes:
1. Simplified logic to create 'attr' strings based on review comment
2. Rework GET_*_PROPERTY_FN macro to allow for pv, vg, and lv
3. Renamed internal function vg_get_property to lvm_get_property
4. Add a lvm_pv_get_property function similar to the vg one
5. Various refactorings related to pv properties.

All vg and pv properties may now be queried with this patchset. I will now move on to lv properties.