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 Thu, Oct 24, 9:14 AM
jfriesseCommitted on Thu, Oct 31, 5:58 AM
Parents
rC749f1cb9a501: totem: Use uint64_t type and QB_TIME_NS_IN_MSEC
Branches
Unknown
Tags
Unknown