]> git.proxmox.com Git - pve-manager-legacy.git/commit
pvestatd: fix container cpuset scheduling
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 3 Dec 2020 15:01:40 +0000 (16:01 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 3 Dec 2020 15:33:50 +0000 (16:33 +0100)
commite5efc8dffb4a1f601d57a39dad5fa0e9d7501db0
tree9fe05cec3764b42c594e085e6b782fb075565b79
parent31b696b6dd2a106ba09cb55917c059e88f756600
pvestatd: fix container cpuset scheduling

Since pve-container commit

c48a25452dccca37b3915e49b7618f6880aeafb1

the code to get the cpuset controller path lives in pve-commons PVE::CGroup.
Use that and improve the logging in case some error happens in the future.
Such an error will only be logged once per pvestatd run,
so it does not spam the log.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Service/pvestatd.pm