Skip to content

Commit

Permalink
Btrfs: balance_dirty_pages_ratelimited is causing problems, use nr ==…
Browse files Browse the repository at this point in the history
… 1 always

Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason committed Sep 25, 2008
1 parent 0f1ebbd commit 304fced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 304fced

Please sign in to comment.