]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Count ops completing with tk_status < 0
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 23 May 2019 20:13:50 +0000 (16:13 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 6 Jul 2019 18:54:51 +0000 (14:54 -0400)
commita2fa1fdd813441608ed97a4a495dafe95e31246a
treeddb6ffaee7a3327fe10402914093ae8bdd1ca031
parentf92a9819c018178b993712a6dc7aa2e845b5ab80
SUNRPC: Count ops completing with tk_status < 0

We often see various error conditions with NFS4.x that show up with
a very high operation count all completing with tk_status < 0 in a
short period of time.  Add a count to rpc_iostats to record on a
per-op basis the ops that complete in this manner, which will
enable lower overhead diagnostics.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/metrics.h
net/sunrpc/stats.c