Skip to content

: Implement lvm_vg_create() and 4 required vg_set*() APIs

Alasdair G Kergon lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 7 patches 0 repliesNew

4 of 7 patches are in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
6/7Add vg_set_alloc() liblvm function and move vgchange logic inside.+0 -00 replies
7/7Add lvm_vg_create() - vg constructor API for new volume groups.+0 -00 replies
7/7Add lvm_vg_create() - vg constructor API for new volume groups.+0 -00 replies
7/7Add lvm_vg_create() - vg constructor API for new volume groups.+0 -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/7]: Implement lvm_vg_create() and 4 required vg_set*() APIs
Quoted 3 lines · Dave Wysochanski

The following 7 patches implement the beginning of lvm_vg_create() liblvm API. This API will create a VG with default parameters and return a vg_t. Later, if any parameters of the VG need set, they are done with a separate 'set' call.

The distinction we made at LinuxTag was between parameters that would normally need to be set (like the name of the VG) and parameters that normally do not need to be (like max_lv). (This is judged from the perspective of a typical library user - not necessarily the lvm2 tools themselves.)

Alasdair