Skip to content

Commit e5bb500

Browse files
committed
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 <[email protected]>
1 parent 3e810ee commit e5bb500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

networkd/network_monitor_thread.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ let monitor_blacklist = ref [
3131
"xapi";
3232
"ovs-system";
3333
"xenapi";
34+
"lo";
35+
"bond";
3436
]
3537

3638
let xapi_rpc request =

0 commit comments

Comments
 (0)