diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-10-15 16:21:17 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:56 -0400 |
commit | 304fced668079ce222200d5742657d34cc44af09 (patch) | |
tree | c33a47ff69cf8022017759e44c15d3b2dc9b5ef4 | |
parent | 0f1ebbd159baade0417f8f62f0cd6810cc950832 (diff) |
Btrfs: balance_dirty_pages_ratelimited is causing problems, use nr == 1 always
Signed-off-by: Chris Mason <chris.mason@oracle.com>
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
768 | void btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr) | 768 | void btrfs_btree_balance_dirty(struct btrfs_root *root, unsigned long nr) |
769 | { | 769 | { |
770 | balance_dirty_pages_ratelimited_nr( | 770 | balance_dirty_pages_ratelimited_nr( |
771 | root->fs_info->btree_inode->i_mapping, nr); | 771 | root->fs_info->btree_inode->i_mapping, 1); |
772 | } | 772 | } |
773 | 773 | ||
774 | void btrfs_set_buffer_defrag(struct extent_buffer *buf) | 774 | void btrfs_set_buffer_defrag(struct extent_buffer *buf) |