HomeClusterLabs Projects

Refactor: scheduler: add pcmk__set_scheduler_defaults()
1d02191c279fUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: scheduler: add pcmk__set_scheduler_defaults()

We currently have pe_reset_working_data(), cleanup_calculations(), and
set_working_set_defaults() for partially freeing and restoring defaults
in scheduler data.

The distinction is confusing, and this is the first step to
rationalizing it: the new function sets nonzero default values in
scheduler data, without freeing or nulling/zeroing anything, so it can
be used in both existing and replacement functions.

Details

Provenance
kgaillotAuthored on Nov 11 2024, 12:38 PM
Parents
rPd236a9566541: Refactor: libcrmcommon,libpe_status: best practices for get_effective_time()
Branches
Unknown
Tags
Unknown

Event Timeline