From: ericm Date: Wed, 20 Aug 2003 08:22:54 +0000 (+0000) Subject: [tcpnal}: X-Git-Tag: v1_7_0_51~2^9~354 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9c70433c2c2c85ab21ef67e24dc27d48a3c40832;p=fs%2Flustre-release.git [tcpnal}: temporarily work around for nal thread endless waiting problem. --- diff --git a/lnet/ulnds/select.c b/lnet/ulnds/select.c index bcfba02..1dd547a 100644 --- a/lnet/ulnds/select.c +++ b/lnet/ulnds/select.c @@ -126,6 +126,15 @@ void select_timer_block(when until) timeout_pointer=&timeout; } else timeout_pointer=0; + + /* FIXME + * temporarily add timer for endless waiting problem. + * FIXME + */ + timeout.tv_sec = 1; + timeout.tv_usec = 0; + timeout_pointer=&timeout; + FD_ZERO(&fds[0]); FD_ZERO(&fds[1]); FD_ZERO(&fds[2]); diff --git a/lnet/ulnds/socklnd/select.c b/lnet/ulnds/socklnd/select.c index bcfba02..1dd547a 100644 --- a/lnet/ulnds/socklnd/select.c +++ b/lnet/ulnds/socklnd/select.c @@ -126,6 +126,15 @@ void select_timer_block(when until) timeout_pointer=&timeout; } else timeout_pointer=0; + + /* FIXME + * temporarily add timer for endless waiting problem. + * FIXME + */ + timeout.tv_sec = 1; + timeout.tv_usec = 0; + timeout_pointer=&timeout; + FD_ZERO(&fds[0]); FD_ZERO(&fds[1]); FD_ZERO(&fds[2]); diff --git a/lustre/portals/unals/select.c b/lustre/portals/unals/select.c index bcfba02..1dd547a 100644 --- a/lustre/portals/unals/select.c +++ b/lustre/portals/unals/select.c @@ -126,6 +126,15 @@ void select_timer_block(when until) timeout_pointer=&timeout; } else timeout_pointer=0; + + /* FIXME + * temporarily add timer for endless waiting problem. + * FIXME + */ + timeout.tv_sec = 1; + timeout.tv_usec = 0; + timeout_pointer=&timeout; + FD_ZERO(&fds[0]); FD_ZERO(&fds[1]); FD_ZERO(&fds[2]);