summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2018-10-01 21:25:36 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-10-02 23:08:12 +0300
commit3968a8a5310404c2f0b9e4d9f28cab13a12bc4fd (patch)
tree58962b248638724060e33544ecaa43c853a65ceb /tools/perf/scripts/python/exported-sql-viewer.py
parentd379eaa838f1813ca906b946ad3cbb77781d2be7 (diff)
downloadlinux-3968a8a5310404c2f0b9e4d9f28cab13a12bc4fd.tar.xz
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions