Whamcloud - gitweb
LU-10889 ptlrpc: update req timeout if resending happened 10/31910/4
authorAlexander Boyko <c17825@cray.com>
Mon, 9 Apr 2018 11:48:09 +0000 (07:48 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 19 Apr 2018 04:38:02 +0000 (04:38 +0000)
commitb4603a9e81239b4e6021c640c1d24e4ed8f8fc4b
tree13525e579fb98aed397380a7e2845e19ccd47fd3
parent7d48050b7a3ba0b9db2ff823bc6fbc3091506597
LU-10889 ptlrpc: update req timeout if resending happened

When the server drops duplicate request processing, the client and
the server have different deadline for the same request. The server
operates with the first copy and the client operates with the second.

This patch adds request deadline updates if a duplicate request is
found.

A fix for LU-8420 changed lock callback prolong calculation to use
request deadline in case when service estimate changed since the
request has beed created. Using outdated deadline may cause
insufficient prolong timeout and subsequent client eviction.

Signed-off-by: Alexander Boyko <c17825@cray.com>
Signed-off-by: Vladimir Saveliev <c17830@cray.com>
Change-Id: I55725d396f50d864687248df46e7882290fc21ca
Cray-bug-id: MRP-3720 MRP-4289
Reviewed-on: https://review.whamcloud.com/31910
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Vitaly Fertman <c17818@cray.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/service.c