HomeClusterLabs Projects

Refactor: scheduler: drop overwrite from sorted_set_t

Description

Refactor: scheduler: drop overwrite from sorted_set_t

overwrite was redundantly in both sorted_set_t and unpack_data_t. Since it
doesn't vary by nvpair block, it makes more sense to drop it from sorted_set_t
in favor of passing the unpack_data_t with g_list_sort_with_data().

Separately, drop the overwrite argument from make_pairs(), because it was
unused.

Details

Provenance
kgaillotAuthored on Apr 8 2024, 4:15 PM
Parents
rP39b6f474a521: Refactor: scheduler: drop score from sorted_set_t
Branches
Unknown
Tags
Unknown