Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | From 9e28214eb784b9f68af6e0503f8cefe861f13440 Mon Sep 17 00:00:00 2001 |
| 2 | From: Shesha Sreenivasamurthy <shesha@cisco.com> |
| 3 | Date: Wed, 2 Sep 2015 08:55:43 -0700 |
| 4 | Subject: [PATCH 5/9] eal: Temporarily turn off unthrottled RTE_LOG(...) |
| 5 | |
| 6 | Otherwise, /var/log/syslog eventually fills the disk. The error |
| 7 | condition seems only to affect ESXi VM's. It'd be worth suggesting log |
| 8 | throttling to the DPDK community. Much better to avoid making syslog |
| 9 | (...) calls in the first place. |
| 10 | --- |
| 11 | lib/librte_eal/linuxapp/eal/eal_interrupts.c | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c |
| 15 | index 3f87875..29a3539 100644 |
| 16 | --- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c |
| 17 | +++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c |
| 18 | @@ -709,7 +709,7 @@ eal_intr_process_interrupts(struct epoll_event *events, int nfds) |
| 19 | * for epoll_wait. |
| 20 | */ |
| 21 | bytes_read = read(events[n].data.fd, &buf, bytes_read); |
| 22 | - if (bytes_read < 0) { |
| 23 | + if (0 && bytes_read < 0) { |
| 24 | if (errno == EINTR || errno == EWOULDBLOCK) |
| 25 | continue; |
| 26 | |
| 27 | -- |
| 28 | 2.5.0 |
| 29 | |