btrfs: switch message printers to ratelimited variants

Signed-off-by: David Sterba <dsterba@suse.com>
此提交包含在:
David Sterba
2015-10-08 11:01:36 +02:00
父節點 1dd6d7ca9d
當前提交 9464732266
共有 6 個檔案被更改,包括 31 行新增33 行删除

查看文件

@@ -8271,10 +8271,11 @@ skip:
ret = account_shared_subtree(trans, root, next,
generation, level - 1);
if (ret) {
printk_ratelimited(KERN_ERR "BTRFS: %s Error "
btrfs_err_rl(root->fs_info,
"Error "
"%d accounting shared subtree. Quota "
"is out of sync, rescan required.\n",
root->fs_info->sb->s_id, ret);
"is out of sync, rescan required.",
ret);
}
}
ret = btrfs_free_extent(trans, root, bytenr, blocksize, parent,
@@ -8363,10 +8364,11 @@ static noinline int walk_up_proc(struct btrfs_trans_handle *trans,
BUG_ON(ret); /* -ENOMEM */
ret = account_leaf_items(trans, root, eb);
if (ret) {
printk_ratelimited(KERN_ERR "BTRFS: %s Error "
btrfs_err_rl(root->fs_info,
"error "
"%d accounting leaf items. Quota "
"is out of sync, rescan required.\n",
root->fs_info->sb->s_id, ret);
"is out of sync, rescan required.",
ret);
}
}
/* make block locked assertion in clean_tree_block happy */