1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-04 09:18:36 +03:00
lvm2/lib/metadata
Peter Rajnoha fb7e2ff493 metadata: add "Failed to write VG <vg_name>." on failed vg_write and revert previous patch
Better than previous patch which changed log_warn to log_error -
we can have multiple MDAs and if one of them fails to be written,
we can still continue with other MDAs if we're in a mode where
we can handle missing PVs - so keep the log_warn for single
failed MDA write as it was before.

However, add log_error with "Failed to write VG <vg_name>." in
case we're not handling missing PVs or no MDA was written at all
during VG write process. This also prevents an internal error in
which the vg_write fails and we're not issuing any other log_error
in vg_write caller or above, so we end up with:
  "Internal error: Failed command did not use log_error".
2015-01-09 14:04:44 +01:00
..
cache_manip.c cache: Implement 'default' as a policy settings value to clear the record. 2014-11-20 16:51:07 +01:00
lv_alloc.h thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
lv_manip.c cmirror: do not check for cmirror availability when creating deactivated cluster mirrors 2015-01-06 09:59:04 +01:00
lv.c cache: check for internal error 2014-11-20 16:35:46 +01:00
lv.h lv: lv_active_change add needs_exclusive flag 2014-11-05 15:29:43 +01:00
merge.c thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
metadata-exported.h pvremove: Avoid metadata re-reads & related error messages. 2015-01-06 14:27:30 +01:00
metadata.c metadata: add "Failed to write VG <vg_name>." on failed vg_write and revert previous patch 2015-01-09 14:04:44 +01:00
metadata.h thin: validate unused thin pool 2014-11-04 15:28:00 +01:00
mirror.c mirror: do not try to reactivate inactive mirror when removing its LVs which have missing PVs 2015-01-07 11:16:19 +01:00
pool_manip.c pool: fix typo in error message: then -> than 2014-12-04 09:18:16 +01:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c pvremove: Avoid metadata re-reads & related error messages. 2015-01-06 14:27:30 +01:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c raid: fix mirror image naming when converting from mirror to raid1 2015-01-07 13:25:08 +01:00
replicator_manip.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h segtype: add SEG_ONLY_EXCLUSIVE flag 2014-11-10 22:05:48 +01:00
snapshot_manip.c cleanup: fix typo and use vg mempool 2014-09-24 10:54:47 +02:00
thin_manip.c thin: add missing 64KB rounding 2014-11-26 09:29:25 +01:00
vg.c pre-release 2014-11-11 14:13:00 +00:00
vg.h vgcreate: Permit non-power-of-2 extent sizes. 2014-10-14 18:12:15 +01:00