1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/tools
Zdenek Kabelac 6f335ffa35 sigint: improve logic on for sigint reaction
Fix and improve handling on sigint.

Always check for signal presence *before* calling of command,
so it will not call the command when break was hit.

If the command has been finished succesfully there is
no problem to mark the command ok and not report interrupt at all.

Fix cuple related stack; reports and assignments.
2013-07-03 14:46:42 +02:00
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
.gitignore More .gitignore files for an in-source-tree build. 2012-06-08 16:34:43 +01:00
args.h tools: add support for changing configuration profile for existing volumes (vgchange/lvchange) 2013-07-02 15:22:10 +02:00
cmdnames.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
commands.h tools: add support for changing configuration profile for existing volumes (vgchange/lvchange) 2013-07-02 15:22:10 +02:00
dmsetup.c dmsetup: check for strncpy 2013-04-12 11:30:47 +02:00
dumpconfig.c config: make it possible to run several instances of configuration check at once 2013-07-02 15:22:11 +02:00
formats.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvchange.c sigint: improve logic on for sigint reaction 2013-07-03 14:46:42 +02:00
lvconvert.c lvconvert: use proper error path 2013-07-03 14:44:51 +02:00
lvcreate.c thin: make selected thinp settings profilable 2013-07-02 15:22:11 +02: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 Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm2cmd.h Keep the LVM-based dmeventd plugins from trying to manipulate the dmeventd 2011-10-19 08:46:26 +00:00
lvm2cmdline.h Support repetition of --addtag and --deltag arguments. 2010-11-11 17:29:05 +00:00
lvm-static.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm.c config: add profile arg to find_config_tree_int 2013-07-02 15:19:09 +02:00
lvmchange.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvmcmdlib.c cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
lvmcmdline.c toolcontext: add a few comments for struct cmd_context and rename config_valid -> config_initialized 2013-07-02 15:22:11 +02:00
lvmdiskscan.c Few more close and dev_close trace 2012-03-01 21:12:37 +00:00
lvreduce.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvremove.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
lvrename.c cleanup: stack usage 2013-07-01 23:11:14 +02:00
lvresize.c lvm2app: Move core lv re-size code (v6) 2013-07-02 14:24:33 -05:00
lvscan.c config: add silent mode 2012-08-25 20:35:48 +01:00
Makefile.in lvmetad: lvm depends on libdaemonclient.a 2013-01-04 23:10:38 +00:00
polldaemon.c config: add profile arg to find_config_tree_int 2013-07-02 15:19:09 +02:00
polldaemon.h Start using 64-bit status flags - most of the code already handles them. 2011-09-06 18:49:31 +00:00
pvchange.c locking: Make it possible to pass down an LV to activation code. 2013-06-10 17:26:38 +02:00
pvck.c Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
pvcreate.c sigint: improve logic on for sigint reaction 2013-07-03 14:46:42 +02:00
pvdisplay.c cleanup: uint64_t casts 2012-08-23 14:37:21 +02:00
pvmove.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
pvremove.c lvm2app: Implement lvm_pv_remove V2 2013-07-02 14:24:34 -05:00
pvresize.c liblvm: Moved additional pv resize code 2013-07-02 14:24:34 -05:00
pvscan.c sigint: improve logic on for sigint reaction 2013-07-03 14:46:42 +02:00
reporter.c lvm2app: Add thin and thin pool lv creation V5 2013-07-02 14:24:33 -05: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
toollib.c sigint: improve logic on for sigint reaction 2013-07-03 14:46:42 +02:00
toollib.h thin: make selected thinp settings profilable 2013-07-02 15:22:11 +02:00
tools.h lvm2app: Move percent_of_extents to lvm-percent.[h|c] 2013-07-02 14:24:33 -05:00
vgcfgbackup.c cleanup: stack usage 2013-07-01 23:11:14 +02:00
vgcfgrestore.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgchange.c tools: add support for changing configuration profile for existing volumes (vgchange/lvchange) 2013-07-02 15:22:10 +02:00
vgck.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgconvert.c config: add profile arg to find_config_tree_int 2013-07-02 15:19:09 +02:00
vgcreate.c metadata: add support for storing profile name in metadata (during vgcreate/lvcreate) 2013-07-02 15:19:09 +02:00
vgdisplay.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
vgexport.c config: add silent mode 2012-08-25 20:35:48 +01:00
vgextend.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgimport.c vgimport: Allow '--force' to import VGs with missing PVs. 2013-02-20 16:37:41 -06:00
vgmerge.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgmknodes.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgreduce.c locking: Make it possible to pass down an LV to activation code. 2013-06-10 17:26:38 +02:00
vgremove.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgrename.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgscan.c locking: Make it possible to pass down an LV to activation code. 2013-06-10 17:26:38 +02:00
vgsplit.c cleanup: stack usage 2013-07-01 23:11:14 +02:00