]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Add ratelimited printk for different alert levels
authorRich Johnston <rjohnston@sgi.com>
Wed, 27 Mar 2013 14:26:49 +0000 (09:26 -0500)
committerBen Myers <bpm@sgi.com>
Wed, 3 Apr 2013 18:20:39 +0000 (13:20 -0500)
commit26e8e73374fc503a0a989f7b39090835bae75af1
treee48b9f00a87d1188fd8537d51efd70854f5c8683
parent72ca9474531fc677c7b28272c484242eac17d407
xfs: Add ratelimited printk for different alert levels

Ratelimited printk will be useful in printing xfs messages which are otherwise
not required to be printed always due to their high rate (to prevent kernel ring
buffer from overflowing), while at the same time required to be printed.

Signed-off-by: Raghavendra D Prabhu <rprabhu@wnohang.net>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_linux.h
fs/xfs/xfs_message.h