]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: log cgroup legacy and unified hierarchy setting translations 3418/head
authorTejun Heo <htejun@fb.com>
Thu, 2 Jun 2016 17:02:53 +0000 (13:02 -0400)
committerTejun Heo <tj@kernel.org>
Thu, 2 Jun 2016 17:02:53 +0000 (13:02 -0400)
commit128fadc927b6662671c091e2b25ba6517080e7e7
tree7b072563dc6d66ab26881f066e3575b8be7f1fc8
parentf29ff1159cf40c59d3611e02356985c791830795
core: log cgroup legacy and unified hierarchy setting translations

To accommodate changes in kernel interface, cgroup unified hierarchy support
added several configuration items which overlap with the existing resource
control settings and there is simple config translation between the overlapping
settings to ease the transition.  As why certain cgroup knobs are being
configured can become confusing, this patch adds a master warning message which
is printed once when such translation is first used and logs each translation
with a debug message.

v2:

- Switched to log_unit*().
src/core/cgroup.c