1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-31 05:47:43 +03:00
lvm2/lib/metadata
David Teigland 8dc5f42254 metadata: Use flags to control warnings.
The warnings arg was used to enable logging of warnings
when reading a PV.  This arg is turned into a set of flags
with the WARN_PV_READ flag matching the existing behavior.

A new flag WARN_INCONSISTENT is added that will cause
vg_read_internal() to log the "VG is not consistent"
warning so the various callers do not need to log
this warning themselves.

A new vg_read flag READ_WARN_INCONSISTENT is used from
reporting to enable the WARN_INCONSISTENT flag in
vg_read_internal.

[Committed by agk with cosmetic changes and tweaks.]
2014-10-07 01:15:43 +01:00
..
2014-10-06 15:23:08 +02:00
2014-10-06 15:18:06 +02:00
2014-10-06 15:23:08 +02:00
2013-12-12 13:28:19 +01:00
2014-10-07 01:15:43 +01:00
2013-01-07 22:30:29 +00:00
2013-12-12 13:28:19 +01:00
2013-06-17 09:34:56 +02:00
2014-10-06 15:23:07 +02:00
2014-03-01 14:08:58 +01:00