Re: [PATCH proxmox v2 07/40] resource-scheduling: compare by nodename in score_nodes_to_start_resource

Dominik Rusovac
2026-03-26T10:29:20Z

lgtm

On Tue Mar 24, 2026 at 7:29 PM CET, Daniel Kral wrote:
> Even though comparing by index is slightly faster here, comparing by the
> nodename makes factoring this out for an upcoming patch possible.
>
> This should increase runtime only marginally as this is roughly bound by
> the 2 * node_count * maximum_hostname_length.
>
> Signed-off-by: Daniel Kral <d.kral@proxmox.com>
> ---
> changes v1 -> v2:
> - new!

[snip]