aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2016-07-13 16:19:15 +0300
committerDavid Sterba <[email protected]>2016-07-26 13:52:25 +0200
commit35f4e5e6f198a11c11606a742b309aa80271c66d (patch)
tree3fa80aaf08c8a7902ea0df03cac1b0ae50481f8d /lib/cpu-notifier-error-inject.c
parent5a488b9d2c25d98cdd11d09de311bfc83ba09fbd (diff)
btrfs: Add ratelimit to btrfs printing
This patch adds ratelimiting to all messages which are not using the _rl version of the various printing APIs in btrfs. This is designed to be used as a safety net, since a flood messages might cause the softlockup detector to trigger. To reduce interference between different classes of messages use a separate ratelimit state for every class of message. Signed-off-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions