diff options
author | Dave Barach <dave@barachs.net> | 2016-02-09 10:54:58 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-02-09 16:20:08 +0000 |
commit | 8501315d5181e9de203414d678ecac004b93f34b (patch) | |
tree | f1fd57eeacb8b31467b3222154fcb29b66eccdee | |
parent | c15cc30571730e275bca061b469d18e2cfd484cf (diff) |
Disable EAL message spew which can easily fill /var/log
Change-Id: I63da892d1c4148a54ea33c172986c854932beb01
Signed-off-by: Dave Barach <dave@barachs.net>
-rw-r--r-- | dpdk/dpdk-2.2.0_patches/0009-Temporarily-disable-unthrottled-log-message.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dpdk/dpdk-2.2.0_patches/0009-Temporarily-disable-unthrottled-log-message.patch b/dpdk/dpdk-2.2.0_patches/0009-Temporarily-disable-unthrottled-log-message.patch new file mode 100644 index 00000000..62132b13 --- /dev/null +++ b/dpdk/dpdk-2.2.0_patches/0009-Temporarily-disable-unthrottled-log-message.patch @@ -0,0 +1,26 @@ +From da141a8f16224a97a1a4093a3293f9bb6b15fa90 Mon Sep 17 00:00:00 2001 +From: Dave Barach <dave@barachs.net> +Date: Tue, 9 Feb 2016 10:22:39 -0500 +Subject: [PATCH] Temporarily disable unthrottled log message. + +Signed-off-by: Dave Barach <dave@barachs.net> +--- + lib/librte_eal/linuxapp/eal/eal_interrupts.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c b/lib/librte_eal/linuxapp/eal/eal_interrupts.c +index 06b26a9..8d918a4 100644 +--- a/lib/librte_eal/linuxapp/eal/eal_interrupts.c ++++ b/lib/librte_eal/linuxapp/eal/eal_interrupts.c +@@ -711,6 +711,8 @@ eal_intr_process_interrupts(struct epoll_event *events, int nfds) + if (errno == EINTR || errno == EWOULDBLOCK) + continue; + ++ /* $$$ disable to avoid filling /var/log */ ++ if (0) + RTE_LOG(ERR, EAL, "Error reading from file " + "descriptor %d: %s\n", + events[n].data.fd, +-- +1.9.1 + |