]> sourceware.org Git - lvm2.git/commit
Ensure fid mda lists are populated correctly during vgextend.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:38:39 +0000 (20:38 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:38:39 +0000 (20:38 +0000)
commit6cb9642200bb72926bdbaa5be8a82a40ec7a350e
tree97597e9dfdaf8b78cf31c4892dcc72e76d0187be
parent7ebd46ee531cfd3ae0aea7d68417939c925a4b0b
Ensure fid mda lists are populated correctly during vgextend.

The vgextend path calls add_pv_to_vg().  Inside add_pv_to_vg(),
we must ensure we pass the correct mdas list into pv_setup(), as
copies of mdas are placed on the vg->fid list.  If we don't place
the mdas on the correct vg->fid list, the various counts may be
incorrect and the metadata balance algorithm will not work when
called from vg_write() path.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
lib/metadata/metadata.c
This page took 0.030591 seconds and 5 git commands to generate.