1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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
..
activate refactor: make it possible to select what to check exactly when calling device_is_usable fn 2014-09-30 13:11:58 +02:00
cache lvmcache: Skip VG_GLOBAL cache lock state update. 2014-10-07 01:15:43 +01:00
cache_segtype cache: use get_cache_mode for validation 2014-07-17 16:16:45 +02:00
commands filters: add cmd->full_filter - composite of cmd->filter and cmd->lvmetad_filter 2014-10-02 13:06:46 +02:00
config cache: include cache mode in vg metadata and display 2014-10-02 11:17:41 -05:00
datastruct cleanup: consolidate lv_layout and lv_role reporting 2014-08-25 16:14:40 +02:00
device cleanup: drop duplicate const usage 2014-09-24 10:54:48 +02:00
display cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
error cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
filters cleanup: remove compiler warning about possible uninitialized variable use 2014-10-02 13:21:24 +02:00
format1 metadata: fix ALLOCATABLE_PV for lvm1 format 2014-07-11 12:24:15 +02:00
format_pool pvscan: use format feature flags in lvmetad code 2014-01-08 02:13:13 +00:00
format_text metadata: Use flags to control warnings. 2014-10-07 01:15:43 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label debug: drop printing debug trace without labeler 2014-09-24 10:54:48 +02:00
locking cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
log report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
metadata metadata: Use flags to control warnings. 2014-10-07 01:15:43 +01:00
mirror mirror: extend adjusted_mirror_region_size API 2014-09-24 10:48:02 +02:00
misc cleanup: avoid double assign 2014-08-19 14:33:06 +02:00
mm valgrind: don't eat mem with valgrind 2014-09-28 13:49:01 +02:00
properties report: add separate fields for PV/VG/LV attributes 2014-07-04 15:40:17 +02:00
raid cleanup: Use segtype.h definitions of segment type names wherever possible 2014-09-24 15:24:41 +02:00
replicator compilation: fix warnings: build_dm_uuid now accepts whole struct logical_volume, not lvid 2014-06-18 14:43:13 +02:00
report toollib: Rewrite process_each_pv. 2014-10-07 01:15:43 +01:00
snapshot cleanup: Use lv_is_ macros. 2014-09-15 21:33:53 +01:00
striped metadata: use outfc for comments 2014-07-17 16:17:44 +02:00
thin cleanup: drop duplicate const 2014-08-29 13:11:34 +02:00
unknown unknown: add_target_line is not needed 2014-04-30 10:26:30 +02:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero cleanup: modules_needed only for devmapper 2014-04-30 10:26:30 +02:00
Makefile.in filters: add "usable device" filter 2014-09-30 13:11:58 +02:00