1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/tools
David Teigland 1c41898c07 vgchange/lvchange: fix poll and monitor use
Fill in some gaps where old versions of lvm allowed
--poll and --monitor in combination with other operations,
but those combinations had been lost since the cmd def work.
(The new cmd def code also added some combinations that
had been missed by the old code.)

Changes:

lvchange --activate: add poll and monitor options, and
                     add calls to them in implementation.

lvchange --refresh: add monitor option (poll already there),
                    and call to monitor in implementation.

lvchange <metadata ops>: add poll and monitor options, and
                         add calls to them in implementation.

vgchange <metadata ops>: add poll option (call to poll
                         already in implementation).

vgchange --refresh: remove monitor option (not used by code)

lvchange --persistent y: add poll and monitor options, and
                         add calls to them, and to activate
                         in the implementation. (Making it
                         match the main lvchange metadata
                         command.)

Summary of current usage:

lvchange --activate: monitor, poll
vgchange --activate: monitor, poll

lvchange --refresh: monitor, poll
vgchange --refresh: poll

lvchange --monitor: ok
lvchange --poll: ok
lvchange --monitor --poll: ok
vgchange --monitor: ok
vgchange --poll: ok
vgchange --monitor --poll: ok

lvchange <metadata ops>: monitor, poll
vgchange <metadata ops>: poll
2017-04-04 17:04:45 -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 man: fix description of --partial option 2017-04-03 14:15:29 -05:00
cmdnames.h doc: change fsf address 2016-01-21 12:11:37 +01:00
command-lines.in vgchange/lvchange: fix poll and monitor use 2017-04-04 17:04:45 -05:00
command.c man-generator: shutdown stdout buffer 2017-03-30 20:40:44 +02:00
command.h tools: Reinstate lvm script processing. 2017-03-23 23:20:53 +00:00
commands.h toollib: find VG name in option values when needed 2017-02-13 08:20:10 -06:00
dmsetup.c dmsetup: replace (f)printf("\n") with putchar/putc 2017-03-30 16:30:50 +01:00
dumpconfig.c coverity: easier to follow set-up of vsn variable 2016-07-13 21:52:14 +02:00
errors.h doc: change fsf address 2016-01-21 12:11:37 +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 vgchange/lvchange: fix poll and monitor use 2017-04-04 17:04:45 -05:00
lvconvert_poll.c cleanup: substract integers 2016-05-27 15:47:24 +02:00
lvconvert_poll.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvconvert.c coverity: make sure segtype pointer is valid 2017-03-16 01:02:10 +01:00
lvcreate.c cache: enable usage of --cachemetadataformat 2017-03-10 19:33:01 +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 doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm2cmdline.h tools: Reinstate lvm script processing. 2017-03-23 23:20:53 +00:00
lvm-static.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm.c commands: combine duplicate arrays for opt and val 2017-03-08 11:03:02 -06:00
lvmcmdlib.c commands: track errors in command def parsing 2017-02-16 15:26:42 -06:00
lvmcmdline.c help: print all options in abbreviated help output 2017-04-03 16:36:04 -05:00
lvmdiskscan.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
lvpoll.c doc: change fsf address 2016-01-21 12:11:37 +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: fix regressiong on accepting args 2017-02-19 22:59:43 +01:00
lvscan.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
Makefile.in dmstats: Fix path to static dmstats 2017-03-29 09:04:56 +02:00
polldaemon.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
pvchange.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvck.c doc: change fsf address 2016-01-21 12:11:37 +01:00
pvcreate.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvdisplay.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvmove_poll.c cleanup: reuse existing function 2016-12-11 23:24:19 +01:00
pvmove_poll.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pvmove.c debug: more stacktrace corrections 2016-11-25 14:58:28 +01:00
pvremove.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
pvresize.c toollib: add 'parent' field to processing_handle; init report format only if there's no parent 2016-06-20 11:33:41 +02:00
pvscan.c cleanup: use more common FMTd64 type 2017-03-27 20:50:19 +02:00
reporter.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06: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 cache: enable usage of --cachemetadataformat 2017-03-10 19:33:01 +01:00
toollib.h cache: enable usage of --cachemetadataformat 2017-03-10 19:33:01 +01:00
tools.h pre-release 2017-03-28 16:11:35 +01:00
vals.h commands: use correct relative signs with mirror option 2017-03-10 15:41:29 -06:00
vgcfgbackup.c tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
vgcfgrestore.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
vgchange.c command struct: remove command name refs 2017-02-13 08:20:10 -06: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 commands: new method for defining commands 2017-02-13 08:20:10 -06:00
vgcreate.c vgcreate: allow pvcreate force option 2016-07-06 14:10:53 -05:00
vgdisplay.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06: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 tools: Use arg_is_set instead of arg_count. 2016-06-21 22:24:52 +01:00
vgimportclone.c command struct: remove command name refs 2017-02-13 08:20:10 -06:00
vgmerge.c doc: change fsf address 2016-01-21 12:11:37 +01: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 process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
vgrename.c vgrename: use long enough buffer for path 2017-03-30 00:38:41 +02:00
vgscan.c lvmetad: two phase vg_update 2016-06-28 02:30:31 +01:00
vgsplit.c cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00