HomeClusterLabs Projects

Refactor: scheduler: separate probe ordering functions into own source file

Description

Refactor: scheduler: separate probe ordering functions into own source file

Logically, these could go in either pcmk_sched_actions.c (since they're for
probe actions) or in pcmk_sched_ordering.c (since they're for ordering).
However the amount of code already in those files makes it worth its own.
There are no code changes.

Lines before:
1969 lib/pacemaker/pcmk_sched_allocate.c

Now:
1503 lib/pacemaker/pcmk_sched_allocate.c

481 lib/pacemaker/pcmk_sched_probes.c

Details

Provenance
kgaillotAuthored on Dec 10 2021, 6:13 PM
Parents
rP94ced1fa9c1a: Merge pull request #2584 from kgaillot/rhbz1470834
Branches
Unknown
Tags
Unknown

Event Timeline