SUNRPC: Improve observability in svc_tcp_accept()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 15 May 2023 13:32:53 +0000 (09:32 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 5 Jun 2023 13:01:42 +0000 (09:01 -0400)
commitd7900daea0b9818cd1cbeb9c5bd94653c487b0e4
treeceb59f0bd87d752f9be866fdb2d37211a84f490c
parentcce4ee9c7834f68cf6a221d61d614c2748611c1c
SUNRPC: Improve observability in svc_tcp_accept()

The -ENOMEM arm could fire repeatedly if the system runs low on
memory, so remove it.

Don't bother to trace -EAGAIN error events, since those fire after
a listener is created (with no work done) and once again after an
accept has been handled successfully (again, with no work done).

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svcsock.c