]> sourceware.org Git - lvm2.git/commit
Add pvcreate_params to vg_extend.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 5 Oct 2009 20:02:48 +0000 (20:02 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 5 Oct 2009 20:02:48 +0000 (20:02 +0000)
commit29123aa652cd67d542c428b154384d74dbf8087b
tree380d8ece76c75c1cf60833911366ee958febac3a
parentacb4073eedfe64c5ee8a4315009a3d7415976530
Add pvcreate_params to vg_extend.

Another refactoring for implicit pvcreate support.  We need to get
the pvcreate parameters somehow to the vg_extend routine.  Options
seemed to be:
1. Attach the parameters to struct volume_group.  I personally
did not like this idea in most cases, though one could make an
agrument why it might be ok at least for some of the parameters
(e.g. metadatacopies).
2. Pass them in to the extend routine.  This second route seemed
to be the best approach given the constraints.

Future patches will parse the command line and fill in the actual
values for the pvcreate_single call.
Should be no functional change.
lib/metadata/metadata-exported.h
lib/metadata/metadata.c
liblvm/lvm_vg.c
tools/vgcreate.c
tools/vgextend.c
This page took 0.03431 seconds and 5 git commands to generate.