提交 304fced6 编写于 作者: C Chris Mason

Btrfs: balance_dirty_pages_ratelimited is causing problems, use nr == 1 always

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 0f1ebbd1
...@@ -768,7 +768,7 @@ void btrfs_mark_buffer_dirty(struct extent_buffer *buf) ...@@ -768,7 +768,7 @@ void btrfs_mark_buffer_dirty(struct extent_buffer *buf)
void btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr) void btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr)
{ {
balance_dirty_pages_ratelimited_nr( balance_dirty_pages_ratelimited_nr(
root->fs_info->btree_inode->i_mapping, nr); root->fs_info->btree_inode->i_mapping, 1);
} }
void btrfs_set_buffer_defrag(struct extent_buffer *buf) void btrfs_set_buffer_defrag(struct extent_buffer *buf)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册