1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00
lvm2/tools
David Teigland c4153a8dfc Remove checking for locked VGs
A few places were calling a function to check if a
VG lock was held.  The only place it was actually
needed is for pvcreate which wants to do its own
locking (and scanning) around process_each_pv.

The locking/scanning exceptions for pvcreate in
process_each_pv/vg_read can be enabled by just passing
a couple of flags instead of checking if the VG is
already locked.  This also means that these special
cases won't be enabled unknowingly in other places
where they shouldn't be used.
2018-06-12 09:46:04 -05:00
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
.gitignore tools: add generated headers to .gitignore 2017-03-10 13:13:41 +00:00
args.h Remove clvmd and associated code 2018-06-05 11:09:13 -05:00
cmdnames.h doc: change fsf address 2016-01-21 12:11:37 +01:00
command-lines.in Rework lock-override options and locking_type settings 2018-06-07 16:47:15 -05:00
command.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
command.h cleanup: fix some typos 2017-07-10 14:58:33 +02:00
commands.h scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05:00
dmsetup.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
dumpconfig.c lvmconfig: Add options to produce file preamble 2017-08-05 16:23:34 +01:00
errors.h tools: Introduce exit code EINIT_FAILED. 2017-07-26 23:18:03 +01:00
formats.c doc: change fsf address 2016-01-21 12:11:37 +01:00
license.inc pre-release 2017-03-28 16:11:35 +01:00
lv_props.h commands: new method for defining commands 2017-02-13 08:20:10 -06:00
lv_types.h commands: recognize raid variations 2017-02-13 08:20:10 -06:00
lvchange.c use exclusive file lock on VG for activation 2018-06-07 16:17:04 +01:00
lvconvert_poll.c debug: more display_lvname usage 2017-06-27 08:28:36 +02:00
lvconvert_poll.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvconvert.c Remove unused clvm variations for active LVs 2018-06-07 16:17:04 +01:00
lvcreate.c Remove unused clvm variations for active LVs 2018-06-07 16:17:04 +01:00
lvdisplay.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
lvextend.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm2cmd-static.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm2cmd.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm2cmd.h tools: Introduce exit code EINIT_FAILED. 2017-07-26 23:18:03 +01:00
lvm2cmdline.h commands: fix memory debug for cmd defs 2017-05-01 15:27:14 -05:00
lvm-static.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm.c debug: tracing error path 2017-06-27 00:27:36 +02:00
lvmcmdlib.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
lvmcmdline.c Rework lock-override options and locking_type settings 2018-06-07 16:47:15 -05:00
lvmdiskscan.c filter: use bcache for filter reads 2018-05-10 16:03:19 -05:00
lvpoll.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvreduce.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvremove.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
lvrename.c toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn 2016-06-20 11:33:42 +02:00
lvresize.c lvresize: support passing --yes to fsadm 2017-06-21 14:03:29 +02:00
lvscan.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
Makefile.in build: use internal libs for lvm2cmd 2018-06-11 22:25:42 +02:00
polldaemon.c Remove unused clvm variations for active LVs 2018-06-07 16:17:04 +01:00
pvchange.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvck.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
pvcreate.c filter: use bcache for filter reads 2018-05-10 16:03:19 -05:00
pvdisplay.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvmove_poll.c pvmove: move code from tools to lib 2017-12-01 12:18:32 +01:00
pvmove_poll.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pvmove.c Remove unused clvm variations for active LVs 2018-06-07 16:17:04 +01:00
pvremove.c pvremove: skip lvmlockd locks for forced clearing 2018-05-30 09:25:45 -05:00
pvresize.c pvresize: update message 2018-06-08 14:36:59 +02:00
pvscan.c use exclusive file lock on VG for activation 2018-06-07 16:17:04 +01:00
reporter.c Merge branch 'master' into 2018-05-11-fork-libdm 2018-06-01 13:04:12 +01:00
segtypes.c doc: change fsf address 2016-01-21 12:11:37 +01:00
stub.h Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00
tags.c doc: change fsf address 2016-01-21 12:11:37 +01:00
tool.h various: some missing #include zalloc.h 2018-06-08 14:18:09 +01:00
toollib.c Remove checking for locked VGs 2018-06-12 09:46:04 -05:00
toollib.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
tools.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
vals.h Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00
vgcfgbackup.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
vgcfgrestore.c cleanup: updates message with dots 2018-06-08 14:37:31 +02:00
vgchange.c vgchange: start polling with option 2018-06-11 22:25:42 +02:00
vgck.c toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn 2016-06-20 11:33:42 +02:00
vgconvert.c Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00
vgcreate.c Remove clvmd and associated code 2018-06-05 11:09:13 -05:00
vgdisplay.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
vgexport.c lvmlockd: primarily use vg_is_shared 2018-06-01 13:15:22 -05:00
vgextend.c filter: use bcache for filter reads 2018-05-10 16:03:19 -05:00
vgimport.c lvmlockd: primarily use vg_is_shared 2018-06-01 13:15:22 -05:00
vgimportclone.c Remove VG lock ordering check 2018-06-07 16:17:04 +01:00
vgmerge.c Remove unused cache management from locking 2018-06-08 12:30:43 -05:00
vgmknodes.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
vgreduce.c cleanup: add missing WARNING into log_warn 2016-11-25 15:01:27 +01:00
vgremove.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
vgrename.c Remove unused cache management from locking 2018-06-08 12:30:43 -05:00
vgscan.c Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00
vgsplit.c Remove clvmd and associated code 2018-06-05 11:09:13 -05:00