From: Chris Mason Date: Mon, 15 Oct 2007 20:21:17 +0000 (-0400) Subject: Btrfs: balance_dirty_pages_ratelimited is causing problems, use nr == 1 always X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=304fced668079ce222200d5742657d34cc44af09;p=openwrt%2Fstaging%2Fblogic.git Btrfs: balance_dirty_pages_ratelimited is causing problems, use nr == 1 always Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 1176e5420c56..3878772fcffd 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -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) { 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)