Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-06-24 (Sat, 24 Jun 2017)
[link] switch link_get_status to write lock
previous to the introduction of detailed link stats, the values
contained in the status structure would hardly change over time
making a rdlock more than enough to get the right data.
Now that the values are updated constantly, we need to remove
the window of thread X writing values and thread Y to read them
while being written.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Author: Chrissie Caulfield <ccaulfie(a)redhat.com>
Date: 2017-06-20 (Tue, 20 Jun 2017)
libknet: Add link stats (#43)
* libknet: Add link stats
This patch also includes an ABI change to knet_link_get_status()
(as well as returning a load of stats) that should allow us to
add more stats at a later stage without ballooning memory use
with pads or crashing earlier-linked programs with structure
kronosnetd compiles but has not been tested...