HomeClusterLabs Projects

Low: libcrmcommon: Add EAGAIN as a return code from crm_ipc_read.

Description

Low: libcrmcommon: Add EAGAIN as a return code from crm_ipc_read.

If qb_ipcc_event_recv returns -EAGAIN, we should pass that on to the
caller instead of converting it to -ENOMSG. This allows the caller to
distinguish cases where it should try again from other error conditions.

In pcmk__send_ipc_request, just continue returning pcmk_rc_ok in this
case for the moment. That will be changed in a later patch.

Details

Provenance
clumensAuthored on Apr 21 2022, 1:51 PM
Parents
rP8e4ec29ce72b: Low: libcrmcommon: Handle IPC ACKs from proxied connections too.
Branches
Unknown
Tags
Unknown