HomeClusterLabs Projects

API: libpe_status: add pe_rsc_detect_loop constant

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

API: libpe_status: add pe_rsc_detect_loop constant

The scheduler's resource assignment code uses pe_rsc_allocating to detect loops
in the assignment. This constant was overloaded elsewhere to detect loops in
other situations, but that is undesirable because it prevents pe_rsc_allocating
from being used to detect whether a resource is in the process of being
assigned.

Add pe_rsc_detect_loop for the other situations, and use it there.

Details

Provenance
kgaillotAuthored on Nov 17 2022, 12:35 PM

Commit No Longer Exists

This commit no longer exists in the repository.