Skip to content

: liblvm object attribute baseline

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Define handles to liblvm objects for pv, vg, lv, lvseg, pvseg.lib/metadata/metadata-exported.h liblvm/lvm.h+16 -100 replies
2/8Add lvm_object_prop.pl to generate liblvm object property function prototypeliblvm/lvm_object_prop.pl+221 -00 replies
3/8Add generated files, lvm_object_prop.[ch], to liblvm build.include/.symlinks liblvm/Makefile.in liblvm/lvm.h +2 more+1507 -10 replies
4/8Implement lvm_{vg|lv}_get_{name|uuid}liblvm/.exported_symbols liblvm/lvm_object_prop.c+17 -90 replies
5/8Add list structure definitions for liblvm objects.liblvm/lvm.h+27 -00 replies
6/8Add lvm_lvs_in_vg() - returns a list of lv handles for a given vg.liblvm/.exported_symbols liblvm/lvm.h liblvm/lvm_base.c+34 -00 replies
7/8Add lvm_vg_open() and lvm_vg_close for testing.liblvm/.exported_symbols liblvm/lvm.h liblvm/lvm_base.c+31 -00 replies
8/8Update test/api/test.c for simple tests involving vg/lv name/uuid attributes.test/api/test.c+196 -80 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/8]: liblvm object attribute baseline

The following 8 patches implement a baseline for liblvm objects and their attributes. The primary focus/goal of these patches are:
1. Define / clarify the main liblvm objects and their handles
2. Get the object properties for a specific handle

Together with the handles, the 'get' functions will provide equivalent functionality to the reporting commands (pvs, vgs, lvs) while keeping with the object model of liblvm.