]> Pileus Git - ~andy/linux/commit
ext4: add ratelimiting to ext4 messages
authorTheodore Ts'o <tytso@mit.edu>
Fri, 18 Oct 2013 01:11:01 +0000 (21:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 18 Oct 2013 01:11:01 +0000 (21:11 -0400)
commitefbed4dc5857f845d787e406ce85097d1ccc5c4f
tree4cfd6a4c20e52b21c3f26632c849dd084df6f632
parentaeac589a74b91c4c07458272767e089810fbd23d
ext4: add ratelimiting to ext4 messages

In the case of a storage device that suddenly disappears, or in the
case of significant file system corruption, this can result in a huge
flood of messages being sent to the console.  This can overflow the
file system containing /var/log/messages, or if a serial console is
configured, this can slow down the system so much that a hardware
watchdog can end up triggering forcing a system reboot.

Google-Bug-Id: 7258357

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/super.c