HomeClusterLabs Projects

Refactor: libcrmcommon: EAGAIN isn't an error for pcmk__ipc_send_iov...
74e56f6e8002Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: libcrmcommon: EAGAIN isn't an error for pcmk__ipc_send_iov...

...at least, when it's sending a server event. In this case, the iov
will be added to the send queue and EAGAIN will be returned. We will
attempt to send the event again the next time pcmk__ipc_send_iov is
called, or when the timer pops to flush the event queue.

Thus, we are already handling the EAGAIN return code properly elsewhere
and just need to proceed as if everything will be fine.

Details

Provenance
clumensAuthored on Tue, Apr 29, 10:55 AM
Parents
rPca9c2171cefa: Refactor: libcrmcommon: Add a GByteArray buffer to pcmk__client_s.
Branches
Unknown
Tags
Unknown

Event Timeline