1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-03 17:47:44 +03:00
Dave Wysochanski 09e0f43ba0 Allow raw_read_mda_header to be called from text_label.c.
We'd like to pass in mda_header to vgname_from_mda().  In order to
do this, we need to call raw_read_mda_header() from text_label.c,
_text_read(), which gets called from the label_read() path, and
peers into the metadata and update vginfo cache.  We should check
the disable bit here, and if set, not peer into the vg metadata,
thus reducing the I/O to disk.

In the process, move vgname_from_mda() to layout.h, since the fn
only gets called from format_text code, and we need the mda_header
definition from the private layout.h.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
2010-06-28 20:31:01 +00:00
..
2010-05-19 11:52:21 +00:00
2010-05-06 10:07:46 +00:00
2010-05-06 10:07:46 +00:00
2010-06-03 13:50:26 +00:00
2010-06-24 08:29:30 +00:00
2010-05-06 10:07:46 +00:00
2010-05-21 12:36:30 +00:00