HomeClusterLabs Projects

Refactor: scheduler: separate migration code into own source file

Description

Refactor: scheduler: separate migration code into own source file

Move a few functions from pcmk_sched_primitive.c to a new
pcmk_sched_migration.c. No code changes other than adding a pcmk__ prefix.

Before:
1565 lib/pacemaker/pcmk_sched_primitive.c

After:
1365 lib/pacemaker/pcmk_sched_primitive.c

221 lib/pacemaker/pcmk_sched_migration.c

Details

Provenance
kgaillotAuthored on Jun 13 2022, 6:22 PM
Parents
rP845672f32c9d: Log: scheduler: trace-log the reason why a resource can't migrate
Branches
Unknown
Tags
Unknown