mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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:
parent
b85929698b
commit
d52213fcc5
@ -5750,7 +5750,8 @@ rxi_CheckCall(struct rx_call *call)
|
|||||||
}
|
}
|
||||||
/* see if we have a non-activity timeout */
|
/* see if we have a non-activity timeout */
|
||||||
if (call->startWait && conn->idleDeadTime
|
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) {
|
if (call->state == RX_STATE_ACTIVE) {
|
||||||
rxi_CallError(call, RX_CALL_TIMEOUT);
|
rxi_CallError(call, RX_CALL_TIMEOUT);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user