Branch: refs/heads/master
Home:
https://github.com/fabbione/kronosnet
Commit: f5669ece789c8cb8b49ce23d4377a6799282ba90
https://github.com/fabbione/kronosnet/commit/f5669ece789c8cb8b49ce23d4377a6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2016-08-12 (Fri, 12 Aug 2016)
Changed paths:
M build-aux/knet_valgrind.supp
M libknet/tests/api_knet_link_set_enable.c
Log Message:
-----------
[tests] fixup knet_link_set_enable tests
add disable code checking and silence a helgrind warning.
helgrind complains about the heartbeat code writing back to the link
status vs knet_host_add.
knet_host_add is using an wr lock, heartbeat code a read lock.
the heartbeat code is the only one changing two ping timers values.
nothing else in the code is using/changing them.
knet_host_add does a memset at alloc time.
tho, it's impossible to hit the HB code _before_ or _during_ knet_host_add,
therefor it's safe to silence the warning.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>