]> sourceware.org Git - lvm2.git/commit
Implement ignore of mda if bit set by skipping r/w of metadata.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:34:24 +0000 (20:34 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:34:24 +0000 (20:34 +0000)
commite6bd367b571ad36160dbb149b22e393c4962b44f
tree1b03b580ce44179448b8eea31ff66d9d30a52347
parent2f8e0473f4f6e10d96cd7bcb3b66f05d39ac57b6
Implement ignore of mda if bit set by skipping r/w of metadata.

We implement ignore of an mda at label_read time by checking for
the ignore bit, and then skipping the reading of the vgname and
other information in the metadata.  This will have an effect similar
to a PV found with no mdas.  Thus, it will look like an orphan in the
cache until we scan the rest of the system and find a PV with
metadata, and the mda will not be on the vg->fid->metadata_areas
list so no read/writes will be done to the metadata area.

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