mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
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>