HomeClusterLabs Projects

totemsrp: Fix orf_token stats

Description

totemsrp: Fix orf_token stats

Previously, orf_token_tx was only incremented on initial send,
this is obviously wrong and resulted in the TX count being
significantly lower than any RX count. Now we increment it every
time the ORF token is sent or resent.

As a quick test, on a single node system the RX and TX stats
will now match.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
chrissie-cAuthored on Oct 24 2024, 9:14 AM
jfriesseCommitted on Oct 31 2024, 5:58 AM
Parents
rC749f1cb9a501: totem: Use uint64_t type and QB_TIME_NS_IN_MSEC
Branches
Unknown
Tags
Unknown