]> sourceware.org Git - lvm2.git/commit
Allow non-orphan PVs with two metadata areas to be resized.
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 28 Feb 2011 13:19:02 +0000 (13:19 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Mon, 28 Feb 2011 13:19:02 +0000 (13:19 +0000)
commit7f250ab14256a9256f08dcb54d30df9a065ece6d
tree9c7250ba454f87ea13b0885b4f667371be24279d
parenteb9b172ec05ee9ba1f95bf1f1fc79d568ae26e93
Allow non-orphan PVs with two metadata areas to be resized.

We allow writing non-orphan PVs only for resize now. The "orphan PV" assert
in pv_write fn uses the "allow_non_orphan" parameter to control this assert.
However, we should find a more elaborate solution so we can remove this
restriction altogether (pv_write together with vg_write is not atomic, we
need to find a safe mechanism so there's an easy revert possible in case of
an error).
WHATS_NEW
lib/format_text/format-text.c
lib/metadata/metadata-exported.h
lib/metadata/metadata.c
lib/metadata/metadata.h
tools/pvchange.c
tools/pvresize.c
tools/vgconvert.c
tools/vgreduce.c
This page took 0.040313 seconds and 5 git commands to generate.