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)
commit22a027e8c03f9a7794d16daa3b4b117ac6d340c3
treed01c749279ec39f2b944d1a167293a490f9840a4
parent45f135846815ef787b41767ad3823194de5ccfdf
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