]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix backchannel latency metrics
authorChuck Lever <chuck.lever@oracle.com>
Wed, 20 Nov 2019 21:25:46 +0000 (16:25 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Nov 2019 22:05:14 +0000 (17:05 -0500)
commit9f0c6596afd4e649be0c4fb88d3d7f6e018a4d64
tree992c0a2b7dd0643f4a8bf268efb51c748bfcb83c
parent5d4dd499987000a7e65cffa275158c3d4c2af0cc
SUNRPC: Fix backchannel latency metrics

I noticed that for callback requests, the reported backlog latency
is always zero, and the rtt value is crazy big. The problem was that
rqst->rq_xtime is never set for backchannel requests.

Fixes: b6d2a9d01d93 ("SUNRPC: Make RTT measurement more ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
net/sunrpc/xprtsock.c