HomeClusterLabs Projects
Diffusion SBD 4b98b42af243

Fix: agent: prevent status action from hanging on list command if any of the…
4b98b42af243Unpublished

Unpublished Commit · Learn More

  • Repository Importing: This repository is still importing.
  • Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix: agent: prevent status action from hanging on list command if any of the devices is silently blocked

If any of the configured SBD devices is silently blocked without any
explicit I/O error from kernel, status action will get stuck on list
command which will be hanging on exit_aio() and become D state.

With this commit, sbd fence agent asynchronously calls list command
individually for the devices and won't wait for any devices that
actually have been already reported failed, so that it prevents hanging
under such a situation.

Details

Provenance
gao-yanAuthored on Nov 12 2020, 6:45 AM
Parents
rS97821f60f64f: Fix: agent: prevent off/reset action from hanging on message command if any of…
Branches
Unknown
Tags
Unknown

Event Timeline