Revert: Rework unit loading to take into account all aliases 73/236473/1
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 9 Jun 2020 00:55:24 +0000 (09:55 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 17 Jun 2020 08:36:51 +0000 (17:36 +0900)
commit95b09c530e12cf7a26fcdcd83dab485ccc13e92a
tree7037db31c7d0aff883db1cdc462855c5a5cf7c3e
parent08e51ac44ca7dc6a343d121f6aca67c3d61afb56
Revert: Rework unit loading to take into account all aliases

Revert below patches due to increasing unit loading time (UnitsLoadFinishTimestamp - UnitsLoadStartTimestamp)

Refer: https://github.com/systemd/systemd/pull/13119/commits
 - test-unit-file: allow printing of information about specific units
 - pid1: drop unit caches only based on mtime
 - analyze: add "unit-files" to dump the unit fragment map
 - core: restore initialization of u->source_mtime
 - pid1: use a cache for all unit aliases
 - shared/unit-file: add a function to validate unit alias symlinks
 - TEST-15-DROPIN: add test for details of unit aliasing

Change-Id: I1bff89f5851544cda7522bd3ceb398499dac57d4
src/analyze/analyze.c
src/core/load-fragment.c
src/core/manager.c
src/core/manager.h
src/core/unit.c
src/shared/unit-file.c
src/shared/unit-file.h
src/systemctl/systemctl.c
src/test/meson.build
src/test/test-unit-file.c [deleted file]
test/TEST-15-DROPIN/test-dropin.sh