rxrpc: Keep the call timeouts as ktimes rather than jiffies
Keep that call timeouts as ktimes rather than jiffies so that they can be expressed as functions of RTT. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
c31410ea00
commit
df0adc788a
8 changed files with 82 additions and 74 deletions
|
|
@ -328,7 +328,8 @@ static bool rxrpc_receiving_reply(struct rxrpc_call *call)
|
|||
call->resend_at = call->expire_at;
|
||||
call->ack_at = call->expire_at;
|
||||
spin_unlock_bh(&call->lock);
|
||||
rxrpc_set_timer(call, rxrpc_timer_init_for_reply);
|
||||
rxrpc_set_timer(call, rxrpc_timer_init_for_reply,
|
||||
ktime_get_real());
|
||||
}
|
||||
|
||||
if (!test_bit(RXRPC_CALL_TX_LAST, &call->flags))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue