Whamcloud - gitweb
LU-5545 ptlrpc: false alarm in AT network latency measuring 55/12855/2
authorLiang Zhen <liang.zhen@intel.com>
Tue, 25 Nov 2014 19:21:34 +0000 (11:21 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Dec 2014 20:21:41 +0000 (20:21 +0000)
commit73800aa81baeeb55038c1849e90631588a930981
tree3bd901e170d235f48df4d9c48c49e9ff56c553ae
parentef5c7bb4a638d50628e91af0c19eb10aab6ec1f5
LU-5545 ptlrpc: false alarm in AT network latency measuring

If early reply of client RPC is lost and client RPC is expired and
resent, server will drop the resent RPC because it's already in
processing, server may also send reply or early reply to client,
which can still match reply buffer of the original request.
In this case, client is measuring time from resent time, but server
is reporting service time of original RPC, which is longer than
the time measured by client.

This patch is back-ported from the following one:
Lustre-commit: c238be0bd02367b634c1061a30bbe161dfd9d8e9
Lustre-change: http://review.whamcloud.com/12018

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Change-Id: I5bdcdee9dd6b439d5d650fa812ea65527458c590
Reviewed-on: http://review.whamcloud.com/12855
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Li Wei <wei.g.li@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/ptlrpc/client.c