From d52213fcc5dae5095d660e1861f77e90c07bb2ab Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sat, 30 Jan 2010 13:54:20 -0500 Subject: [PATCH] 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 Tested-by: Jeffrey Altman Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/rx/rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index 9d4e3d57f8..19cf09c3ec 100755 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -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;