diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-10-01 14:25:36 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-10-02 16:08:12 -0400 |
commit | 3968a8a5310404c2f0b9e4d9f28cab13a12bc4fd (patch) | |
tree | 58962b248638724060e33544ecaa43c853a65ceb /lib/mpi/mpiutil.c | |
parent | d379eaa838f1813ca906b946ad3cbb77781d2be7 (diff) |
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/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions