Skip to content

Add generic attribute function for vg attributes, v1.

Dave Wysochanski lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add dm_report_get_field_value() function and supporting structure.libdm/libdevmapper.h libdm/libdm-report.c+42 -00 replies
2/4Add report_value() function to return a value of a report field.lib/report/report.c lib/report/report.h+72 -00 replies
3/4Add lvm_vg_get_attr_value() generic vg attibute function.liblvm/lvm2app.h liblvm/lvm_vg.c+34 -00 replies
4/4Add tests for lvm_vg_get_attr_value().test/api/test.c+34 -00 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/4] Add generic attribute function for vg attributes, v1.

This patchset is a rebase/update of previous patches posted for a generic attribute function for the reporting infrastructure and liblvm. I'm not entirely happy with this approach.

Still TODO:
1. Documentation of the field names and descriptions. This seems necessary as they are no longer documented in the function name, and requiring the user to go to the man page and the help output of the vgs/pvs/lvs commands seems unreasonable.
2. A similar function for PV and LV.