1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/tools
Dave Wysochanski 266214db84 Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING.
Remove the checks for vg_read_error() in most of the tools callback
functions and instead make the check in _process_one_vg() more general.

In all but vgcfgbackup, we do not want to proceed if we get any error
from vg_read().  In vgcfgbackup's case, we may proceed if the backup
is to proceed with inconsistent VGs.  This is a special case though,
and we mark it with the READ_ALLOW_INCONSISTENT flag passed to
process_each_vg (and subsequently to _process_one_vg).

NOTE: More cleanup is needed in the vg_read_error() path cases.
This patch is a start.
2009-09-15 01:38:59 +00:00
..
.exported_symbols .export.sym generation 2004-03-26 14:51:23 +00:00
args.h Add --noudevsync option for relevant LVM tools. 2009-08-04 15:53:04 +00:00
cmdnames.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
commands.h Add --noudevsync option for relevant LVM tools. 2009-08-04 15:53:04 +00:00
dmsetup.c Add y|--yes option for dmsetup to provide a default 'YES' answer to questions. 2009-09-11 15:53:57 +00:00
dumpconfig.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
formats.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvchange.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
lvconvert.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
lvcreate.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
lvdisplay.c Rework the toollib interface (process_each_*) on top of new vg_read. 2009-07-01 17:00:50 +00:00
lvextend.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvm2cmd-static.c Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvm2cmd.c Fix mirror log name construction during lvconvert. (2.02.30) 2008-01-31 12:19:36 +00:00
lvm2cmd.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvm2cmdline.h lvm2cmdline.h:31: warning: declaration of `is_static' shadows a global declaration 2008-12-19 18:51:02 +00:00
lvm-static.c Use tools.h in for lvm-static. 2009-01-20 20:37:41 +00:00
lvm.c Create global is_static() to eliminate from the library init function. 2008-12-18 05:27:17 +00:00
lvmchange.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvmcmdlib.c Move tools/version.h to lib/misc/lvm-version.h. 2009-02-22 22:11:58 +00:00
lvmcmdline.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
lvmdiskscan.c Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvreduce.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvremove.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
lvrename.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
lvresize.c Fix vg_read() error paths to properly release upon vg_read_error(). 2009-07-07 01:18:35 +00:00
lvscan.c Rework the toollib interface (process_each_*) on top of new vg_read. 2009-07-01 17:00:50 +00:00
Makefile.in Fix Makefile to take into account dmsetup's reconfiguration. 2009-09-11 15:52:22 +00:00
polldaemon.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
polldaemon.h Fix convert polling to ignore LV with different UUID. 2009-06-01 14:43:27 +00:00
pvchange.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
pvck.c Clean up numerous compiler warnings that crept in recently. 2007-08-22 14:38:18 +00:00
pvcreate.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
pvdisplay.c Port process_each_pv to new vg_read. 2009-07-15 05:50:22 +00:00
pvmove.c Refactor a couple log_error() statements in prep for larger log_error() patch. 2009-07-08 18:15:51 +00:00
pvremove.c Try to avoid full rescan if label scan is enough. 2009-02-25 23:29:06 +00:00
pvresize.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
pvscan.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
reporter.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
segtypes.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
stub.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
toollib.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
toollib.h Rework the toollib interface (process_each_*) on top of new vg_read. 2009-07-01 17:00:50 +00:00
tools.h Fix convert polling to ignore LV with different UUID. 2009-06-01 14:43:27 +00:00
vgcfgbackup.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgcfgrestore.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
vgchange.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgck.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgconvert.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgcreate.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
vgdisplay.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgexport.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgextend.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
vgimport.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgmerge.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
vgmknodes.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
vgreduce.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
vgremove.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgrename.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00
vgscan.c Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING. 2009-09-15 01:38:59 +00:00
vgsplit.c Add lots of missing stack debug messages to tools. 2009-09-14 22:47:49 +00:00