HomeClusterLabs Projects

Low: fencer: check "on" support when checking whether device can fence

Description

Low: fencer: check "on" support when checking whether device can fence

An initiator calls can_fence_host_with_device() to create a list of devices
that can gence a given target. If the requested action is "on", and a device
doesn't support "on", return false immediately rather than wait until the fence
attempt to determine it can't be done.

This allows for better log messages and slightly faster response.

Fixes T511

Details

Provenance
kgaillotAuthored on Oct 18 2022, 12:33 PM
Parents
rPeea7a219d262: Log: fencer: improve eligibility logs
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task