From e5bb50066d632920ba13182640b7b37cc5a59c00 Mon Sep 17 00:00:00 2001 From: Rob Hoes Date: Mon, 20 Jun 2016 22:18:45 +0100 Subject: [PATCH] Don't collect stats for loopback and bond devices We don't use the stats for these devices, so lets not spend time on them. Furthermore, due to the fact that the Sysfs.read_one_line and therefore the Sysfs.get_pci_ids function now log errors, and the loopback and bond devices do not have PCI info in sysfs, this was causing lots of log spam. Signed-off-by: Rob Hoes --- networkd/network_monitor_thread.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/networkd/network_monitor_thread.ml b/networkd/network_monitor_thread.ml index 440f81610..bb75374e6 100644 --- a/networkd/network_monitor_thread.ml +++ b/networkd/network_monitor_thread.ml @@ -31,6 +31,8 @@ let monitor_blacklist = ref [ "xapi"; "ovs-system"; "xenapi"; + "lo"; + "bond"; ] let xapi_rpc request =