]> sourceware.org Git - lvm2.git/commit
Add location independent flag and functions to ignore mdas.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:30:14 +0000 (20:30 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:30:14 +0000 (20:30 +0000)
commit322c5868b3c088f9b051df8f542b0a03f29a638b
treeb4e398e6372f04be94385030d2cde2a35515fcb2
parentd144d5eeb76d300e1f554e7b10403883fbdc518a
Add location independent flag and functions to ignore mdas.

First we add a 'flags' field to the location independent
metadata_area structure, and a MDA_IGNORE flag.  The
mda_is_ignored and mda_set_ignored functions are added to
manage the flag.  Adding the flag and functions gives a
library interface to ignore metadata areas independent of
the underlying location (disk, file, etc).  The location
specific read/write functions must then handle the specifics
of what this flag means to the location.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Reviewed-by: Alasdair G Kergon <agk@redhat.com>
lib/format_text/text_label.c
lib/metadata/metadata.c
lib/metadata/metadata.h
This page took 0.038234 seconds and 5 git commands to generate.