1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/tools
Zdenek Kabelac fade45b1d1 mirror: improve table update
Shift refresh of mirror table right into monitor_dev_for_events().
Use  !vg_write_lock_held() to recognize use of lvchange/vgchange.
(this shall change if this would no longer work, but requires
futher some API changes).

With this patch  dm mirror table is only refreshed when necassary.

Also update WARNING message about mirror usage without monitoring
and display LV name.
2018-04-30 10:41:51 +02: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 cleanup: add _mb_ to regiosize option 2018-04-20 12:17:01 +02:00
cmdnames.h doc: change fsf address 2016-01-21 12:11:37 +01:00
command-lines.in lvconvert: drop limitation for converting lv 2018-04-20 12:06:51 +02:00
command.c scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05: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 dmstatus: check nr_regions ahead of find call 2018-03-15 10:54:19 +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 mirror: improve table update 2018-04-30 10:41:51 +02:00
lvconvert_poll.c debug: more display_lvname usage 2017-06-27 08:28:36 +02:00
lvconvert_poll.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvconvert.c lvconvert: preserve regionsize from existing mirror 2018-04-23 22:42:18 +02:00
lvcreate.c lvcreate: fix activation of cached LV 2018-03-06 15:39:27 +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 doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm2cmd.c doc: change fsf address 2016-01-21 12:11:37 +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 commands: fix memory debug for cmd defs 2017-05-01 15:27:14 -05:00
lvmcmdline.c scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05:00
lvmdiskscan.c lvmdiskscan: use the new label_scan 2018-04-20 11:22:46 -05:00
lvpoll.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +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 [makefile] add -laio to makefiles 2018-04-20 11:13:17 -05:00
polldaemon.c pvmove: in fork mode destroy bcache in child 2018-04-25 16:40:36 -05:00
pvchange.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvck.c pvck: use bcache 2018-04-20 11:22:47 -05:00
pvcreate.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01: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 cleanup: display_lvname update message 2018-04-20 12:17:01 +02:00
pvremove.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvresize.c pvcreate: add prompt when setting dev size 2017-04-27 13:25:41 -05:00
pvscan.c dev_cache: clean up scan 2018-04-20 11:22:48 -05:00
reporter.c cleanup: add braces in macro 2017-07-20 11:18:29 +02:00
segtypes.c doc: change fsf address 2016-01-21 12:11:37 +01:00
stub.h tools: Drop unused e2fsadm refs (replaced by fsadm). 2017-03-16 02:24:39 +00:00
tags.c doc: change fsf address 2016-01-21 12:11:37 +01:00
tool.h doc: change fsf address 2016-01-21 12:11:37 +01:00
toollib.c scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05:00
toollib.h cache: enable usage of --cachemetadataformat 2017-03-10 19:33:01 +01:00
tools.h scan: skip device rescan in vg_read 2018-04-20 11:23:14 -05:00
vals.h cleanup: add _mb_ to regiosize option 2018-04-20 12:17:01 +02:00
vgcfgbackup.c coverity: avoid memleak 2017-11-07 21:26:09 +01:00
vgcfgrestore.c scan: do scanning at the start of a command 2018-04-20 11:21:38 -05:00
vgchange.c vgchange: invalidate bcache for stacked LVs when deactivating 2018-04-20 11:22:47 -05: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 tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
vgcreate.c lvmcache: simplify 2018-04-20 11:22:48 -05:00
vgdisplay.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
vgexport.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
vgextend.c commands: new method for defining commands 2017-02-13 08:20:10 -06:00
vgimport.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
vgimportclone.c dev_cache: clean up scan 2018-04-20 11:22:48 -05:00
vgmerge.c lvmcache: simplify 2018-04-20 11:22:48 -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 unnecessary REQUIRES_FULL_LABEL_SCAN 2018-04-20 11:22:48 -05:00
vgscan.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
vgsplit.c lvmcache: simplify 2018-04-20 11:22:48 -05:00