diff options
author | Nikolay Borisov <kernel@kyup.com> | 2016-07-13 16:19:15 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-07-26 13:52:25 +0200 |
commit | 35f4e5e6f198a11c11606a742b309aa80271c66d (patch) | |
tree | 3fa80aaf08c8a7902ea0df03cac1b0ae50481f8d /fs/btrfs/inode-map.c | |
parent | 5a488b9d2c25d98cdd11d09de311bfc83ba09fbd (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 <kernel@kyup.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode-map.c')
0 files changed, 0 insertions, 0 deletions