projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6466e3
)
btrfs read error corrected message floods the console during recovery
author
Anand Jain
<anand.jain@oracle.com>
Tue, 3 Jul 2012 04:05:21 +0000
(22:05 -0600)
committer
Chris Mason
<chris.mason@fusionio.com>
Mon, 23 Jul 2012 20:28:04 +0000
(16:28 -0400)
Changing printk_in_rcu to printk_ratelimited_in_rcu will suffice
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent_io.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent_io.c
b/fs/btrfs/extent_io.c
index 01c21b6c6d43e44a28a4c862ca6532d6f8b02654..f08206fcfb2278208dec45c633876f84ddd69763 100644
(file)
--- a/
fs/btrfs/extent_io.c
+++ b/
fs/btrfs/extent_io.c
@@
-1918,7
+1918,7
@@
int repair_io_failure(struct btrfs_mapping_tree *map_tree, u64 start,
return -EIO;
}
- printk_in_rcu(KERN_INFO "btrfs read error corrected: ino %lu off %llu "
+ printk_
ratelimited_
in_rcu(KERN_INFO "btrfs read error corrected: ino %lu off %llu "
"(dev %s sector %llu)\n", page->mapping->host->i_ino,
start, rcu_str_deref(dev->name), sector);