]> 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)
commit4fe7b31a32f231cbfde04bcf9f9d225c7e7d8b82
treed01c749279ec39f2b944d1a167293a490f9840a4
parent06a7efab7c919c89afc852196b35cd5900170365
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