take2: liblvm initialization, attribute, and object handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest21 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | Add lvm_create, lvm_destroy, lvm_reload_config() APIs.lib/ lib/ lib/ +1 more | +98 | 0 replies | |
| 2/21 | Move vg_t, lv_t, and pv_t from metadata-exported.h into lvm2.hlib/ lib/ | +10 | 0 replies | |
| 3/21 | Add lvm_pv_name, lvm_vg_name, and lvm_lv_name accessors.lib/ lib/ | +22 | 0 replies | |
| 4/21 | Add lvm_vg_open().lib/ lib/ | +16 | 0 replies | |
| 5/21 | Add lvm_vg_close().lib/ lib/ | +12 | 0 replies | |
| 6/21 | Add lvm_vg_get_attr_list() libLVM API to return a list of VG attribute names.lib/ lib/ libdm/ +2 more | +71 | 0 replies | |
| 7/21 | Add lvm_vg_get_attr_value() libLVM API to query to value of a VG attribute.lib/ lib/ libdm/ +2 more | +72 | 0 replies | |
| 8/21 | Add lvm_lvs_in_vg() API.lib/ lib/ | +36 | 0 replies | |
| 9/21 | Add lvm_pvs_in_vg().lib/ lib/ | +15 | 0 replies | |
| 10/21 | Add lvm_lv_get_attr_list() and lvm_lv_get_attr_value().lib/ lib/ | +60 | 0 replies | |
| 11/21 | First cut at adding pv_obj_* APIs.lib/ lib/ | +157 | 0 replies | |
| 12/21 | Add lvm-types.h to lvm2.h file.lib/ | +1 | 0 replies | |
| 13/21 | Add test code.test/ | +480 | 0 replies | |
| 14/21 | Add lvm_errno(), lvm_strerror, lvm_vg_mode.lib/ lib/ lib/ +2 more | +111 | 0 replies | |
| 15/21 | Add write mode to vg_open(), calling the new vg_read API with READ_FOR_UPDATE.lib/ | +6 | 0 replies | |
| 16/21 | Add lvm_vg_uuid with test code.lib/ lib/ test/ | +17 | 0 replies | |
| 17/21 | Update lvm_vg_open to take either a name or uuid.lib/ lib/ lib/ +1 more | +98 | 0 replies | |
| 18/21 | Update lvmcache_update_vg to use vgid as well as vgname.lib/ | +1 | 0 replies | |
| 19/21 | Update lvm_vg_open() to read and store the list of vg attributes.lib/ lib/ | +25 | 0 replies | |
| 20/21 | Update test code to use new lvm_get_vg_attr_list(), list from lvm_vg_open().test/ | +45 | 0 replies | |
| 21/21 | Update lvm_vg_get_attr_list() to use attributes obtained during vg_open().lib/ lib/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/21] take2: liblvm initialization, attribute, and object handling
This is an updated set of liblvm patches. Changes since the last time:
- lvm_vg_open(): added write mode with an attempt at allowing vgid as well as vgnames. This clearly does not work in all cases currently but is a start.
- lvm_vg_get_attr_list(): moved into lvm_vg_open() - does make sense and solves the memory problem with the report handle
- adds struct lib_context, containing struct cmd_context as well as errno.
- lvm_errno() and lvm_strerrno()