aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/ev_epollsig_linux.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-05-31 19:47:30 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-05-31 19:47:30 -0700
commit905f0ca39e5a64d91c4c5d7a09bc0768dabfc454 (patch)
treed682c826d4b74915c49d09f9917ff58609ce21a8 /src/core/lib/iomgr/ev_epollsig_linux.cc
parentadc733f0249eaaabfed5ae9949af1ac416969cef (diff)
parenta421c1539db7fa94a4b1ea1b8b9a0288439ef1b8 (diff)
merge master
Diffstat (limited to 'src/core/lib/iomgr/ev_epollsig_linux.cc')
-rw-r--r--src/core/lib/iomgr/ev_epollsig_linux.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/lib/iomgr/ev_epollsig_linux.cc b/src/core/lib/iomgr/ev_epollsig_linux.cc
index 0c692231f2..6c0f0c91f3 100644
--- a/src/core/lib/iomgr/ev_epollsig_linux.cc
+++ b/src/core/lib/iomgr/ev_epollsig_linux.cc
@@ -296,7 +296,7 @@ static void pi_add_ref_dbg(polling_island* pi, const char* reason,
const char* file, int line) {
if (grpc_polling_trace.enabled()) {
gpr_atm old_cnt = gpr_atm_acq_load(&pi->ref_count);
- gpr_log(GPR_DEBUG,
+ gpr_log(GPR_INFO,
"Add ref pi: %p, old:%" PRIdPTR " -> new:%" PRIdPTR
" (%s) - (%s, %d)",
pi, old_cnt, old_cnt + 1, reason, file, line);
@@ -308,7 +308,7 @@ static void pi_unref_dbg(polling_island* pi, const char* reason,
const char* file, int line) {
if (grpc_polling_trace.enabled()) {
gpr_atm old_cnt = gpr_atm_acq_load(&pi->ref_count);
- gpr_log(GPR_DEBUG,
+ gpr_log(GPR_INFO,
"Unref pi: %p, old:%" PRIdPTR " -> new:%" PRIdPTR
" (%s) - (%s, %d)",
pi, old_cnt, (old_cnt - 1), reason, file, line);
@@ -1280,7 +1280,7 @@ static void pollset_work_and_unlock(grpc_pollset* pollset,
bool error = (ep_ev[i].events & EPOLLERR) != 0;
bool read_ev = (ep_ev[i].events & (EPOLLIN | EPOLLPRI)) != 0;
bool write_ev = (ep_ev[i].events & EPOLLOUT) != 0;
- bool err_fallback = error && track_err;
+ bool err_fallback = error && !track_err;
if (error && !err_fallback) {
fd_has_errors(fd);