[lvm-devel] [PATCH 1/3] Formalize pe_start policy as split between .pv_setup and .pv_write.

Alasdair G Kergon agk at redhat.com
Wed Jul 29 21:30:59 UTC 2009


On Wed, Jul 29, 2009 at 04:46:17PM -0400, Mike Snitzer wrote:
> 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.

Alasdair




More information about the lvm-devel mailing list