summaryrefslogtreecommitdiffstats
path: root/tools/pvchange.c
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2010-06-28 20:37:54 +0000
committerDave Wysochanski <dwysocha@redhat.com>2010-06-28 20:37:54 +0000
commit1b5434332805efd05c5e1805f6789f7c0db111b3 (patch)
treec71cb90ba099c2616ddb2c9a3941e4f99ff9f7de /tools/pvchange.c
parent1779cc34d13352476a8fbacfd56b3e2996e4df83 (diff)
downloadlvm2-1b5434332805efd05c5e1805f6789f7c0db111b3.tar.gz
lvm2-1b5434332805efd05c5e1805f6789f7c0db111b3.tar.xz
lvm2-1b5434332805efd05c5e1805f6789f7c0db111b3.zip
Implement _vg_adjust_ignored_mdas and call from vg_write() path.
Compare the value of the newly added vg_mda_copies field (--vgmetadatacopies parameter) with the current count of in-use mdas and ignoring or unignoring mdas as necessary to get to the target count. Also, as a safety check before returning, ensure we have at least one mda enabled. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Diffstat (limited to 'tools/pvchange.c')
0 files changed, 0 insertions, 0 deletions