Whamcloud - gitweb
LU-5545 ptlrpc: false alarm in AT network latency measuring 18/12018/5
authorLiang Zhen <liang.zhen@intel.com>
Tue, 23 Sep 2014 13:00:27 +0000 (21:00 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 4 Nov 2014 18:06:00 +0000 (18:06 +0000)
commitc238be0bd02367b634c1061a30bbe161dfd9d8e9
treef8e942129535359d491cd3ea83dca48e906c1ef5
parentd730750a6311cae8a4427824867410faccc6698f
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.

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Change-Id: I772fb054480a3212e28dc018a6f592f3da7a87b5
Reviewed-on: http://review.whamcloud.com/12018
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