John Lo | 348c3b7 | 2016-08-09 22:33:51 -0400 | [diff] [blame] | 1 | From 454e25ed57c17ec18ee76ead4a75f9abdf579608 Mon Sep 17 00:00:00 2001 |
| 2 | From: Dave Barach <dave@barachs.net> |
| 3 | Date: Tue, 9 Feb 2016 10:22:39 -0500 |
| 4 | Subject: [PATCH 6/6] Temporarily disable unthrottled log message. |
| 5 | |
| 6 | Signed-off-by: Dave Barach <dave@barachs.net> |
| 7 | --- |
| 8 | lib/librte_eal/linuxapp/eal/eal_interrupts.c | 2 ++ |
| 9 | 1 file changed, 2 insertions(+) |
| 10 | |
| 11 | diff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c |
| 12 | index 06b26a9..8d918a4 100644 |
| 13 | --- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c |
| 14 | +++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c |
| 15 | @@ -709,6 +709,8 @@ eal_intr_process_interrupts(struct epoll_event *events, int nfds) |
| 16 | if (errno == EINTR || errno == EWOULDBLOCK) |
| 17 | continue; |
| 18 | |
| 19 | + /* $$$ disable to avoid filling /var/log */ |
| 20 | + if (0) |
| 21 | RTE_LOG(ERR, EAL, "Error reading from file " |
| 22 | "descriptor %d: %s\n", |
| 23 | events[n].data.fd, |
| 24 | -- |
| 25 | 2.7.4 |
| 26 | |