]> sourceware.org Git - lvm2.git/commit
Implement _vg_adjust_ignored_mdas and call from vg_write() path.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:37:54 +0000 (20:37 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:37:54 +0000 (20:37 +0000)
commit1b5434332805efd05c5e1805f6789f7c0db111b3
treec71cb90ba099c2616ddb2c9a3941e4f99ff9f7de
parent1779cc34d13352476a8fbacfd56b3e2996e4df83
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>
lib/metadata/metadata.c
This page took 0.037294 seconds and 5 git commands to generate.