HomeClusterLabs Projects

Refactor: daemons: Move throttling code into libcrmcommon
0ceb66e92d80Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: daemons: Move throttling code into libcrmcommon

The two functions used by the control daemon can be made private
functions, with their bodies guarded by HAVE_LINUX_PROCFS. The static
functions those call can move as well and remain static.

The control daemon can get rid of the guards since the throttling
functions will return defaults if procfs isn't supported, and the
callers are set up to handle that possibility.

Fix T385

Details

Provenance
clumensAuthored on Nov 15 2024, 2:58 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.