1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/tools
Ondrej Kozina 33465066c5 polldaemon: fix missing mirror in-sync info with lvmpolld
CONVERTING status flag is a tricky one. It's not set when converting
a non-mirror LV type to the mirror type, i.e.: linear -> two leg mirror.
Also the conversion itself is instant and doesn't require to be polled.
When mirror reaches sync state there's no final update on VG metadata
for lvmpolld to be made thereby report_progress in fact doesn't report
percentage of mirror being converted but percentage of mirror
being in sync. Perhaps we should reword the lvconvert output here.

On the other hand CONVERTING is set while we upconvert the mirror
from i.e. two leg mirror to four leg mirror. In such case the operation
is required to be polled so that lvmpolld can cleanup temporary
conversion log when the conversion is over.

Ignore CONVERTING lv_type for the moment and match LVs only by uuids
during 'mirror conversion'/'waiting for a sync to finish'.
2015-10-20 12:18:55 +02:00
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
args.h Add lvmlockd 2015-07-02 15:42:26 -05:00
cmdnames.h
commands.h lvchange: update help text 2015-09-22 00:08:44 +02:00
dmsetup.c dmsetup: improve help text 2015-09-18 17:45:45 +02:00
dumpconfig.c lvmconfig: add --type full to display full tree of settings 2015-06-25 13:33:52 +02:00
errors.h lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
formats.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvchange.c segtypes: Add and use new segtype macros. 2015-09-24 14:59:07 +01:00
lvconvert_poll.c thin: improve swapping of identifiers 2015-09-11 21:51:11 +02:00
lvconvert_poll.h polldaemon: move lvconvert_get_copy_lv code 2015-05-04 16:56:39 +02:00
lvconvert.c segtypes: Use SEG_TYPE_NAME_ string constants. 2015-09-22 19:04:12 +01:00
lvcreate.c raid: Introduce DEFAULT_RAID_MAX_IMAGES 2015-09-28 21:38:40 +01:00
lvdisplay.c tools: allow -S|--select for vgdisplay, lvdisplay and pvdisplay without -C 2015-02-10 16:09:40 +01:00
lvextend.c
lvm2cmd-static.c
lvm2cmd.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm2cmd.h lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
lvm2cmdline.h toolcontext: add switches to create_toolcontext for connections and filters init 2015-07-30 13:54:09 +02:00
lvm-static.c include: Standardise around new tool.h. 2015-07-06 17:30:18 +01:00
lvm.c include: Standardise around new tool.h. 2015-07-06 17:30:18 +01:00
lvmchange.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvmcmdlib.c toolcontext: add switches to create_toolcontext for connections and filters init 2015-07-30 13:54:09 +02:00
lvmcmdline.c segtypes: Use SEG_TYPE_NAME_ string constants. 2015-09-22 19:04:12 +01:00
lvmdiskscan.c filters: add cmd->full_filter - composite of cmd->filter and cmd->lvmetad_filter 2014-10-02 13:06:46 +02:00
lvpoll.c include: Standardise around new tool.h. 2015-07-06 17:30:18 +01:00
lvreduce.c
lvremove.c cleanup: tools: "or use -S for selection" --> "or use --select for selection" 2015-03-04 14:40:58 +01:00
lvrename.c coverity: fix missing initialization 2015-07-08 14:53:30 +02:00
lvresize.c coverity: fix missing initialization 2015-07-08 14:53:30 +02:00
lvscan.c reporting: should not fail with foreign option if lvm1 pvs exist 2015-03-10 13:56:25 -05:00
Makefile.in dmsetup: Also install dmstats. 2015-08-10 00:35:15 +01:00
polldaemon.c polldaemon: fix missing mirror in-sync info with lvmpolld 2015-10-20 12:18:55 +02:00
pvchange.c Add lvmlockd 2015-07-02 15:42:26 -05:00
pvck.c pvck: Use non-zero exit status after failure. 2014-11-13 12:26:43 +00:00
pvcreate.c Add lvmlockd 2015-07-02 15:42:26 -05:00
pvdisplay.c tools: allow -S|--select for vgdisplay, lvdisplay and pvdisplay without -C 2015-02-10 16:09:40 +01:00
pvmove_poll.c include: Standardise around new tool.h. 2015-07-06 17:30:18 +01:00
pvmove_poll.h polldaemon: refactor polling interfaces 2015-05-05 20:52:07 +02:00
pvmove.c segtypes: Use SEG_TYPE_NAME_ string constants. 2015-09-22 19:04:12 +01:00
pvremove.c Add lvmlockd 2015-07-02 15:42:26 -05:00
pvresize.c Add lvmlockd 2015-07-02 15:42:26 -05:00
pvscan.c pvscan: use process_each_pv 2015-10-19 16:15:51 -05:00
reporter.c config: add report/compact_output_cols to control which columns to compact in report output 2015-10-16 17:05:54 +02:00
segtypes.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
stub.h Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
tags.c tools: Add internal tags command. 2014-01-30 13:09:15 +00:00
tool.h include: Standardise around new tool.h. 2015-07-06 17:30:18 +01:00
toollib.c vgcreate: improve error message for multiple lock managers 2015-10-08 10:41:13 -05:00
toollib.h toollib: get_cache_params 2015-08-12 14:11:18 +02:00
tools.h commands: add new NO_METADATA_PROCESSING flag to selected commands 2015-07-30 13:56:13 +02:00
vgcfgbackup.c cleanup: remove deallocate_handle_root arg from destroy_procesing_handle fnw 2015-02-13 11:27:09 +01:00
vgcfgrestore.c vgcfgrestore: return invalid cmd line 2014-05-21 23:14:41 +02:00
vgchange.c lockd: add start_init arg to lockd_start_vg 2015-09-10 09:47:26 -05:00
vgck.c toollib: replace void *handle with struct processing_handle for use in processing functions (process_each_*/process_single_* and related) 2015-02-10 16:05:24 +01:00
vgconvert.c vgconvert: require lvmetad to not be used 2015-03-10 09:31:54 -05:00
vgcreate.c lockd: add start_init arg to lockd_start_vg 2015-09-10 09:47:26 -05:00
vgdisplay.c vgdisplay: Drop error message for exported VGs. 2015-08-26 21:11:46 +01:00
vgexport.c lockd: allow vgexport and vgimport 2015-07-13 14:07:57 -05:00
vgextend.c Add lvmlockd 2015-07-02 15:42:26 -05:00
vgimport.c lockd: allow vgexport and vgimport 2015-07-13 14:07:57 -05:00
vgmerge.c Add lvmlockd 2015-07-02 15:42:26 -05:00
vgmknodes.c toollib: replace void *handle with struct processing_handle for use in processing functions (process_each_*/process_single_* and related) 2015-02-10 16:05:24 +01:00
vgreduce.c coverity: fix missing initialization 2015-07-08 14:53:30 +02:00
vgremove.c lvmlockd: add full changing of lock type 2015-08-27 10:27:24 -05:00
vgrename.c vgrename: add missing trace on error path 2015-09-03 10:38:16 -05:00
vgscan.c pvscan, vgscan: include foreign vgs with --cache 2015-02-25 15:46:27 -06:00
vgsplit.c Add lvmlockd 2015-07-02 15:42:26 -05:00