]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Add trace event when alloc_pages_bulk() makes no progress
authorChuck Lever <chuck.lever@oracle.com>
Mon, 4 Oct 2021 14:16:26 +0000 (10:16 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 4 Oct 2021 19:40:15 +0000 (15:40 -0400)
commit9474c18e09232644a9e13b64b2fbd6ab4c0d082f
treed01c749279ec39f2b944d1a167293a490f9840a4
parenta597043b5e1662ec9e5883c0df7b8ea93ce456ad
SUNRPC: Add trace event when alloc_pages_bulk() makes no progress

This is an operational low memory situation that needs to be
flagged. The new tracepoint records a timestamp and the nfsd thread
that failed to allocate pages.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/trace/events/sunrpc.h
net/sunrpc/svc_xprt.c