1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
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-08-19 14:33:07 +02:00
2014-10-06 15:23:08 +02:00
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00
2014-10-06 15:22:24 +02:00
2014-09-15 21:33:53 +01:00
2014-09-28 13:49:01 +02:00
2014-10-07 01:15:43 +01:00
2014-10-07 01:15:43 +01:00
2014-10-07 01:15:43 +01:00
2014-01-30 13:09:15 +00:00
2014-10-07 01:15:43 +01:00
2014-10-01 22:58:23 +01:00
2013-07-01 23:11:14 +02:00
2014-10-07 01:15:43 +01:00
2014-03-30 23:44:59 +02:00
2014-07-03 19:06:04 +01:00
2014-10-07 01:15:43 +01:00
2014-10-06 15:22:24 +02:00