Dave Barach | 8501315 | 2016-02-09 10:54:58 -0500 | [diff] [blame] | 1 | From da141a8f16224a97a1a4093a3293f9bb6b15fa90 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] 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 | @@ -711,6 +711,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 | 1.9.1 |
| 26 | |