HomeClusterLabs Projects

Refactor: scheduler: make finding unfencing devices more efficient

Description

Refactor: scheduler: make finding unfencing devices more efficient

We can check whether a resource has "requires" set to "unfencing" via a
resource flag rather than a hash table lookup plus string comparison, and
we can postpone a hash lookup for "provides" until everything else has been
checked.

Details

Provenance
kgaillotAuthored on Apr 6 2022, 12:29 PM
Parents
rP3c9d8e50239e: Refactor: scheduler: functionize unpacking "requires" meta-attribute
Branches
Unknown
Tags
Unknown