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

Alasdair G Kergon <[email protected]>
Newsgroups dev.linux.lists.lvm-devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.