1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/format_text
Dave Wysochanski 7042e06a2a Make vg->mda_copies persistent in on disk vg metadata.
This patch adds the ability to read/write the vg->mda_copies values
from/to the vg metadata.

If we read the VG metadata and this field does not exist, we set
mda_copies to the default value of 0.  Later in the code, we use
this special '0' value to indicate a disable of metadata balancing.
This should preserve existing LVM behavior and ensure metadata balancing
can be turned off should the need arise.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
2010-06-28 20:37:10 +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 Make vg->mda_copies persistent in on disk vg metadata. 2010-06-28 20:37:10 +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 Make vg->mda_copies persistent in on disk vg metadata. 2010-06-28 20:37:10 +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