Commit 65021d95 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] end_buffer_async_read printk ratelimiting

ratelimit the disk I/O error reporting in end_buffer_async_read().
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 69d6977a
......@@ -550,7 +550,8 @@ static void end_buffer_async_read(struct buffer_head *bh, int uptodate)
set_buffer_uptodate(bh);
} else {
clear_buffer_uptodate(bh);
buffer_io_error(bh);
if (printk_ratelimit())
buffer_io_error(bh);
SetPageError(page);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment