]> sourceware.org Git - lvm2.git/commit
Formalize pe_start policy as split between .pv_setup and .pv_write.
authorsnitzer <snitzer>
Thu, 30 Jul 2009 17:18:03 +0000 (17:18 +0000)
committersnitzer <snitzer>
Thu, 30 Jul 2009 17:18:03 +0000 (17:18 +0000)
commit5dab79f1c71deac521f4a5d412ba205e2a34b1a8
treec45251686a0bf3505bece69587d043db1e999d47
parentcfe2d71862b3e14e798209ba4a4eba1a92b019ed
Formalize pe_start policy as split between .pv_setup and .pv_write.

Document existing pe_start policy.
Fix issue in _text_pv_setup() where existing pe_start case could have
the pv->pe_start set to pv->pe_align even though pe_start shouldn't ever
change.

vgconvert and pvcreate have a facility to preserve the existing start
of the on-disk data extents, known as pe_start.
They indicate this by passing the existing value to the pvsetup function
which must preserve it.

This patch avoids one particular case where the value could get
changed incorrectly now that the alignment settings are configurable.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
WHATS_NEW
lib/format_text/format-text.c
This page took 0.03202 seconds and 5 git commands to generate.