1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/tools
Peter Rajnoha 24f32721a9 dumpconfig: fix dumpconfig --type diff used in lvm shell as second and later command
The dumpconfig reuses existing config_def_check results in case
the check is done during general lvm command context initialization
(when enabled by config/checks=1) so dumpconfig does not need to run
the same check again during its execution, hence saving some time.

However, we don't check for differences from defaults during general
lvm command initialization as it's useless at that time. It makes
sense only in case when such a check is directly requested (like in
the case of lvm dumpconfig --type diff). We need to take care that
the reused information was already produced with this "diff" checking
before and if not, we need to force the check so the check status also
gathers the new "diff" info now.

Also, do not do diff checking for any other dumpconfig command that
is run after dumpconfig --type diff.
2014-05-19 15:41:25 +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 --readonly support. 2014-04-18 02:46:34 +01: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 --readonly support. 2014-04-18 02:46:34 +01:00
dmsetup.c gcc: replace #ifdef linux with __linux__ 2013-11-13 13:56:29 +00:00
dumpconfig.c dumpconfig: fix dumpconfig --type diff used in lvm shell as second and later command 2014-05-19 15:41:25 +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 cleanup: just rename for interal function 2014-04-01 20:54:09 +02:00
lvconvert.c lvconvert: do not activate cache pool 2014-04-08 11:00:14 +02:00
lvcreate.c clenaup: drop unused assigns 2014-05-07 14:17:46 +02:00
lvdisplay.c cleanup: lvdisplay indent 2014-03-31 12:05:34 +02: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 lvresize: separate validation from action 2013-07-06 03:28:21 +01: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 readline: switch to new-style readline typedef 2014-03-06 17:28:40 +01: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 config: fix incorrect profile initialization on cmd context refresh 2014-05-19 15:39:55 +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 snapshot: move virtsnap code from tool to lib 2013-10-12 00:14:52 +02:00
lvrename.c lvrename: fix name length validation 2014-03-31 12:02:18 +02:00
lvresize.c lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
lvscan.c lvscan: drop test for snapshosts 2014-04-28 12:42:53 +02:00
Makefile.in makefiles: link blkid library only to lvm 2014-03-06 17:30:10 +01:00
polldaemon.c polldaemon: ret invalid cmd for negative interval 2014-04-14 12:47:14 +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 pvchange: populate lvmcache for --all 2014-03-28 10:41:58 +01: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 tools: remove metadata-exported.h 2013-07-09 03:07:55 +01:00
pvdisplay.c cleanup: pvdisplay indent 2014-03-30 23:44:59 +02:00
pvmove.c pvmove: Disallow pvmove of cache LVs 2014-02-24 12:25:18 -06:00
pvremove.c pvremove: Catch CTRL-c during prompts. 2014-04-29 08:16:28 +01:00
pvresize.c pvresize: fail exit code for negative size 2014-03-25 11:52:03 +01:00
pvscan.c asprintf: fix test for error result 2014-04-18 16:38:47 +02:00
reporter.c report: export DM_REPORT_FIELD_RESERVED_NAME_{HELP,HELP_ALT} and show help on '<lvm_command> -O help' 2014-05-15 10:58:14 +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
toollib.c tests: add test for pvcreate --dataalignment --dataalignmentoffset --restorefile compatibility 2014-04-10 15:02:35 +02:00
toollib.h compilation: Rename tags variables to tagsl. 2014-01-30 21:09:28 +00:00
tools.h signals: Move sigint handling out to lvm-signal. 2014-05-01 20:07:17 +01:00
vgcfgbackup.c cleanup: stack usage 2013-07-01 23:11:14 +02:00
vgcfgrestore.c vgcfgrestore: Remove VG rom lvmetad later, to better deal with errors. 2013-09-18 11:24:58 +02:00
vgchange.c cleanup: cast int to typedef 2014-05-12 16:24:40 +02:00
vgck.c vgck: Fix #894136, notice on-disk corruption in spite of lvmetad. 2013-08-13 23:25:49 +02:00
vgconvert.c vgconvert: Do not call lvmetad_vg_remove (path shared with vgcfgbackup). 2013-09-18 12:53:11 +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 vgdisplay: select only active volumes groups if -A option is used 2013-12-03 14:43:00 +01:00
vgexport.c cleanup: vgexport drops pv pointer 2014-03-30 23:44:59 +02:00
vgextend.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgimport.c vgimport/vgexport: return invalid cmd 2014-03-30 23:40:27 +02:00
vgmerge.c thin: vgsplit and vgmerge spare support 2013-07-18 18:22:44 +02:00
vgmknodes.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgreduce.c metadata.c: Call refactored vgreduce_single 2013-11-19 14:40:30 -06:00
vgremove.c cleanup: introduce return_ECMD_FAILED macro 2013-07-01 23:10:33 +02:00
vgrename.c lvmcache: handle reinit without error 2014-03-21 22:29:21 +01:00
vgscan.c lvmcache: handle reinit without error 2014-03-21 22:29:21 +01:00
vgsplit.c vgsplit: Make RAID 4/5/6 fail cleanly when too few PV specified 2014-04-25 16:24:50 -05:00