diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2019-05-23 16:13:48 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-06 14:54:51 -0400 |
commit | 9dfe52a95a60096fc12234383a19b0f436304418 (patch) | |
tree | d334968701acb6f7d0443b075e1c09ad82e5dc99 /net/sunrpc/stats.c | |
parent | 44942b4e457beda00981f616402a1a791e8c616e (diff) | |
download | linux-9dfe52a95a60096fc12234383a19b0f436304418.tar.gz linux-9dfe52a95a60096fc12234383a19b0f436304418.tar.bz2 linux-9dfe52a95a60096fc12234383a19b0f436304418.zip |
SUNRPC: Move call to rpc_count_iostats before rpc_call_done
For diagnostic purposes, it would be useful to have an rpc_iostats
metric of RPCs completing with tk_status < 0. Unfortunately,
tk_status is reset inside the rpc_call_done functions for each
operation, and the call to tally the per-op metrics comes after
rpc_call_done. Refactor the call to rpc_count_iostat earlier in
rpc_exit_task so we can count these RPCs completing in error.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/stats.c')
0 files changed, 0 insertions, 0 deletions