master - Remove lvmetad
Subsystems (2)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=117160b27e510dceb1ed6acf995115c040acd88d Commit: 117160b27e510dceb1ed6acf995115c040acd88d Parent: edf3f86184a380994e383b9884364e702e4ac647 Author: David Teigland <[email protected]> AuthorDate: Tue Jul 10 13:39:29 2018 -0500 Committer: David Teigland <[email protected]> CommitterDate: Wed Jul 11 11:26:42 2018 -0500
Remove lvmetad
Native disk scanning is now both reduced and
async/parallel, which makes it comparable in
performance (and often faster) when compared
to lvm using lvmetad.
Autoactivation now uses local temp files to record online PVs, and no longer requires lvmetad.
There should be no apparent command-level change
in behavior.
--- Makefile.in | 3 +- configure.ac | 47 - daemons/lvmetad/.gitignore | 2 - daemons/lvmetad/Makefile.in | 64 - daemons/lvmetad/lvmetactl.c | 249 --- daemons/lvmetad/lvmetad-client.h | 90 -- daemons/lvmetad/lvmetad-core.c | 3010 ------------------------------------- daemons/lvmetad/test.sh | 16 - daemons/lvmetad/testclient.c | 147 -- daemons/lvmlockd/lvmlockd-core.c | 135 +-- include/Makefile.in | 2 - lib/Makefile.in | 5 - lib/cache/lvmcache.c | 68 +- lib/cache/lvmcache.h | 3 - lib/cache/lvmetad.c | 3075 -------------------------------------- lib/cache/lvmetad.h | 213 --- lib/commands/toolcontext.c | 131 +-- lib/commands/toolcontext.h | 1 - lib/config/config_settings.h | 44 +- lib/format_text/archiver.c | 1 - lib/format_text/format-text.c | 61 - lib/format_text/import.c | 6 - lib/format_text/import_vsn1.c | 27 +- lib/label/label.h | 2 - lib/locking/locking.h | 2 - lib/locking/lvmlockd.c | 62 +- lib/metadata/metadata.c | 104 +-- lib/metadata/metadata.h | 2 - lib/metadata/vg.c | 7 - lib/metadata/vg.h | 20 - tools/Makefile.in | 4 - tools/args.h | 7 +- tools/command-lines.in | 17 +- tools/command.c | 1 - tools/commands.h | 11 +- tools/lvchange.c | 14 - tools/lvmcmdline.c | 56 +- tools/lvscan.c | 62 +- tools/polldaemon.c | 22 +- tools/pvcreate.c | 11 - tools/pvdisplay.c | 17 - tools/pvscan.c | 567 +------- tools/reporter.c | 5 +- tools/toollib.c | 24 +- tools/tools.h | 6 +- tools/vgcfgrestore.c | 35 +- tools/vgchange.c | 14 - tools/vgck.c | 1 - tools/vgcreate.c | 3 +- tools/vgimport.c | 20 - tools/vgimportclone.c | 25 - tools/vgmerge.c | 1 - tools/vgrename.c | 4 +- tools/vgscan.c | 66 +- tools/vgsplit.c | 7 - 55 files changed, 102 insertions(+), 8497 deletions(-)
Makefile.in +1 -2
@@ -83,7 +83,7 @@ endif DISTCLEAN_TARGETS += cscope.out CLEAN_DIRS += autom4te.cache -check check_system check_cluster check_local check_lvmetad check_lvmpolld check_lvmlockd_test check_lvmlockd_dlm check_lvmlockd_sanlock: test +check check_system check_cluster check_local check_lvmpolld check_lvmlockd_test check_lvmlockd_dlm check_lvmlockd_sanlock: test $(MAKE) -C test $(@) conf.generate man.generate: tools
@@ -153,7 +153,6 @@ LCOV_TRACES = libdm.info lib.info tools.info \ test/unit.info \ daemons/clvmd.info \ daemons/dmeventd.info \ - daemons/lvmetad.info \ daemons/lvmlockd.info \ daemons/lvmpolld.info
configure.ac +0 -47
102 lines not on this page · raw message
daemons/lvmetad/.gitignore deleted +0 -2
@@ -1,2 +0,0 @@ -lvmetad -lvmetactl
daemons/lvmetad/Makefile.in deleted +0 -64
64 lines not on this page · raw message
daemons/lvmetad/lvmetactl.c deleted +0 -249
249 lines not on this page · raw message
daemons/lvmetad/lvmetad-client.h deleted +0 -90
90 lines not on this page · raw message
daemons/lvmetad/lvmetad-core.c deleted +0 -3010
2,478 lines not on this page · raw message
daemons/lvmetad/testclient.c deleted +0 -147
147 lines not on this page · raw message
daemons/lvmlockd/lvmlockd-core.c +24 -111
135 lines not on this page · raw message
lib/cache/lvmcache.c +5 -63
68 lines not on this page · raw message
lib/cache/lvmetad.c deleted +0 -3075
3,075 lines not on this page · raw message
lib/cache/lvmetad.h deleted +0 -213
213 lines not on this page · raw message
lib/commands/toolcontext.c +9 -122
131 lines not on this page · raw message
lib/config/config_settings.h +8 -36
44 lines not on this page · raw message
lib/format_text/format-text.c +0 -61
61 lines not on this page · raw message
lib/locking/lvmlockd.c +2 -60
62 lines not on this page · raw message
lib/metadata/metadata.c +1 -103
104 lines not on this page · raw message
tools/lvmcmdline.c +2 -54
56 lines not on this page · raw message
tools/lvscan.c +3 -59
62 lines not on this page · raw message
tools/pvscan.c +9 -558
567 lines not on this page · raw message
tools/vgscan.c +4 -62
66 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.