rx idledeadtime don't track window wait

if we're in writer mode and waiting for more window, don't consider it idle.

Change-Id: Id1e80f297929eef363ffe88bfe181b74bb331515
Reviewed-on: http://gerrit.openafs.org/1182
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Derrick Brashear 2010-01-30 13:54:20 -05:00 committed by Derrick Brashear
parent b85929698b
commit d52213fcc5

View File

@ -5750,7 +5750,8 @@ rxi_CheckCall(struct rx_call *call)
}
/* see if we have a non-activity timeout */
if (call->startWait && conn->idleDeadTime
&& ((call->startWait + conn->idleDeadTime) < now)) {
&& ((call->startWait + conn->idleDeadTime) < now) &&
(call->flags & RX_CALL_READER_WAIT)) {
if (call->state == RX_STATE_ACTIVE) {
rxi_CallError(call, RX_CALL_TIMEOUT);
return -1;