mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
btrfs read error corrected message floods the console during recovery
Changing printk_in_rcu to printk_ratelimited_in_rcu will suffice Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
parent
e6466e354a
commit
d5b025d510
@ -1918,7 +1918,7 @@ int repair_io_failure(struct btrfs_mapping_tree *map_tree, u64 start,
|
|||||||
return -EIO;
|
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,
|
"(dev %s sector %llu)\n", page->mapping->host->i_ino,
|
||||||
start, rcu_str_deref(dev->name), sector);
|
start, rcu_str_deref(dev->name), sector);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user