diff options
author | Eric Sandeen <sandeen@redhat.com> | 2008-10-18 23:28:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 11:52:38 -0400 |
commit | cdbf6dba28e8e6268c8420857696309470009fd9 (patch) | |
tree | ab41f3c567a5e94f3c0e500ab796ad3bdd38806c /virt/kvm/iodev.h | |
parent | 5ec8b75e3a2a94860ee99b5456fe1a963c8680e5 (diff) |
ext3: avoid printk floods in the face of directory corruption
A very large directory with many read failures (either due to storage
problems, or due to invalid size & blocks from corruption) will generate a
printk storm as the filesystem continues to try to read all the blocks.
This flood of messages can tie up the box until it is complete - which may
be a very long time, especially for very large corrupted values.
This is fixed by only reporting the corruption once each time we try to
read the directory.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Eugene Teo <eugeneteo@kernel.sg>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm/iodev.h')
0 files changed, 0 insertions, 0 deletions