1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib/format_text
Dave Wysochanski 69d1732334 Update _vg_read and _text_create_text_instance to use fid_add_mda[s].
When we are constructing the vg, we may need to adjust the list of
metadata_areas if there are ignored mdas.  At label read time, we
do not read the metadata of ignored mdas, and as a result, they do
not get placed on vg->fid->metadata_areas inside _text_create_text_instance
since lvmcache does not have these areas attached to vginfo->infos.
However, when we're checking the pvids inside _vg_read, after having
read another metadata area from another PV, we do have the opportunity
to update the metadata_area and metadata_areas_ignored lists based
on the read metadata_area.  We need accurate mda lists for the reporting
functions that count the ignored mdas, as well as general correctness
of mda balancing.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
2010-06-28 20:35:17 +00:00
..
archive.c Fix tools to report error when stopped by user. 2009-12-03 19:18:33 +00:00
archiver.c Rename fid->metadata_areas to fid->metadata_areas_in_use. 2010-06-28 20:32:44 +00:00
archiver.h Fix remote metadata backup for clvmd 2009-04-22 09:39:45 +00:00
export.c Export function out_text_with_comment() and add outfc() macro that checks 2010-01-07 14:45:28 +00:00
flags.c Replicator: base lvm2 support 2010-05-21 12:36:30 +00:00
format-text.c Update _vg_read and _text_create_text_instance to use fid_add_mda[s]. 2010-06-28 20:35:17 +00:00
format-text.h Allow raw_read_mda_header to be called from text_label.c. 2010-06-28 20:31:01 +00:00
import_vsn1.c Suppress duplicate error messages about read failures and missing devices. 2010-05-05 22:37:52 +00:00
import-export.h Suppress repeated errors about the same missing PV uuids. 2010-03-17 02:11:18 +00:00
import.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
layout.h Allow raw_read_mda_header to be called from text_label.c. 2010-06-28 20:31:01 +00:00
tags.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
text_export.h Export function out_text_with_comment() and add outfc() macro that checks 2010-01-07 14:45:28 +00:00
text_import.h Update a few more uint64_t's related to the 64-bit status change. 2009-12-04 17:48:32 +00:00
text_label.c Implement ignore of mda if bit set by skipping r/w of metadata. 2010-06-28 20:34:24 +00:00