HomeClusterLabs Projects

Refactor: scheduler: redo how ordering symmetry is checked

Description

Refactor: scheduler: redo how ordering symmetry is checked

Previously, ordering_is_symmetrical() returned a boolean based on whether the
ordering was symmetrical or not. Now, rename it to get_ordering_symmetry() and
make it return the new enum ordering_symmetry, to simplify its callers.

This also allows consolidating two rsc_order_sets() arguments into one.

Details

Provenance
kgaillotAuthored on Jul 13 2021, 2:17 PM
Parents
rP30f6e99a35bd: Refactor: scheduler: consolidate ordering flags functions
Branches
Unknown
Tags
Unknown

Event Timeline