From: Jeff Layton Date: Fri, 31 Oct 2014 12:28:29 +0000 (-0400) Subject: lockd: ratelimit "lockd: cannot monitor" messages X-Git-Tag: omap-for-v3.19/fixes-rc1~62^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9af94fc4e470deab3427d07551725f0bf844ebc8;p=pandora-kernel.git lockd: ratelimit "lockd: cannot monitor" messages When lockd can't talk to a remote statd, it'll spew a warning message to the ring buffer. If the application is really hammering on locks however, it's possible for that message to spam the logs. Ratelimit it to minimize the potential for harm. Reported-by: Ian Collier Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed