The unified diff between revisions [c025ed65..] and [015a028d..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'src/comm_select.c'
#
#
# patch "src/comm_select.c"
# from [5c6578f4d4b7473343347d251b23135717bfd543]
# to [55c7e734704d577e5b38ba134b5e02e735a0d847]
#
============================================================
--- src/comm_select.c 5c6578f4d4b7473343347d251b23135717bfd543
+++ src/comm_select.c 55c7e734704d577e5b38ba134b5e02e735a0d847
@@ -1472,12 +1472,15 @@ commBackon() {
int fd;
int j=0;
+ debug(5, 2) ("commBackon(): called\n");
+
for(i=0;i<FD_SETSIZE;i++) {
if(backoff_fds[i]) {
/* record the fd and zero the descriptor */
fd=backoff_fds[i];
F=&fd_table[fd];
backoff_fds[i]=0;
+ debug(5, 3)("commBackon(): Checking FD %d\n", fd);
/* If the fd is no longer backed off, ignore */
if(!(F->comm_backoff)) {
@@ -1488,10 +1491,11 @@ commBackon() {
the list and continue */
if(commDeferRead(fd) == 1) {
backoff_fds[j++]=fd;
+ debug(5, 3) ("commEpollBackon: Defer again: fd=%d\n",fd);
continue;
}
- debug(5, 4) ("commEpollBackon: fd=%d\n",fd);
+ debug(5, 3) ("commEpollBackon: Resume: fd=%d\n",fd);
/* Resume operations for this fd */
commResumeFD(fd);