summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2018-10-01 20:25:36 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-10-02 22:08:12 +0200
commit3968a8a5310404c2f0b9e4d9f28cab13a12bc4fd (patch)
tree58962b248638724060e33544ecaa43c853a65ceb /lib
parentxprtrdma: Name MR trace events consistently (diff)
downloadlinux-3968a8a5310404c2f0b9e4d9f28cab13a12bc4fd.tar.xz
linux-3968a8a5310404c2f0b9e4d9f28cab13a12bc4fd.zip
sunrpc: Fix connect metrics
For TCP, the logic in xprt_connect_status is currently never invoked to record a successful connection. Commit 2a4919919a97 ("SUNRPC: Return EAGAIN instead of ENOTCONN when waking up xprt->pending") changed the way TCP xprt's are awoken after a connect succeeds. Instead, change connection-oriented transports to bump connect_count and compute connect_time the moment that XPRT_CONNECTED is set. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions