Skip to content

liblvm initialization, attribute, and object handling

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13Add system_dir to create_toolcontext().daemons/clvmd/lvm-functions.c lib/commands/toolcontext.c lib/commands/toolcontext.h +1 more+8 -40 replies
2/13Add lvm_create, lvm_destroy, lvm_reload_config() APIs.lib/Makefile.in lib/lvm2.c lib/lvm2.h +1 more+105 -253 replies
2/13Add lvm_create, lvm_destroy, lvm_reload_config() APIs.+0 -00 replies
3/13Move vg_t, lv_t, and pv_t from metadata-exported.h into lvm2.hlib/lvm2.h lib/metadata/metadata-exported.h+10 -71 reply
3/13Move vg_t, lv_t, and pv_t from metadata-exported.h into lvm2.h+0 -00 replies
4/13Add lvm_pv_name, lvm_vg_name, and lvm_lv_name accessors.lib/lvm2.h lib/metadata/metadata.c+22 -00 replies
5/13Add lvm_vg_open().lib/lvm2.h lib/metadata/metadata.c+16 -01 reply
5/13Add lvm_vg_open().+0 -00 replies
6/13Add lvm_vg_close().lib/lvm2.h lib/metadata/metadata.c+12 -01 reply
6/13Add lvm_vg_close().+0 -00 replies
6/13Add lvm_vg_close().+0 -00 replies
7/13Add lvm_vg_get_attr_list() libLVM API to return a list of VG attribute names.lib/lvm2.h lib/report/report.c libdm/.exported_symbols +2 more+71 -00 replies
8/13Add lvm_vg_get_attr_value() libLVM API to query to value of a VG attribute.lib/lvm2.h lib/report/report.c libdm/.exported_symbols +2 more+72 -01 reply
8/13Add lvm_vg_get_attr_value() libLVM API to query to value of a VG attribute.+0 -00 replies
9/13Add lvm_lvs_in_vg() API.lib/lvm2.h+7 -00 replies
10/13Add lvm_pvs_in_vg().lib/lvm2.h lib/metadata/metadata.c+20 -00 replies
11/13Add lvm_lv_get_attr_list() and lvm_lv_get_attr_value().lib/lvm2.h lib/report/report.c+60 -00 replies
12/13First cut at adding pv_obj_* APIs.lib/lvm2.c lib/lvm2.h+157 -01 reply
12/13First cut at adding pv_obj_* APIs.+0 -00 replies
13/13Add test code.test/api/test.c+317 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/13] liblvm initialization, attribute, and object handling

This is the latest in a series of liblvm patches involving the init code cleanup as well as attribute and object handling code. Patches are being developed and reviewed by Thomas Woerner and myself.

I've begun to incorporate the latest vg_read() patches from Petr. Note the "vg_open()" / "vg_close()" patches, which is a possible way we might simplify some of those flags on vg_read() (an open/read/close sequence). Patches are incomplete though I thought I'd throw it out for discussion.