diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-28 09:29:35 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-28 09:29:35 -0400 |
commit | 7c4452b9a6ca7aabe37ea2e43d443110bdc08cd8 (patch) | |
tree | 6d3db5ec3a394dfcf143869796f1c59c4e86278f /fs/btrfs/extent-tree.c | |
parent | 06a2f9fa4c12a055cc396936408a78ae0acfb6b4 (diff) |
Btrfs: smarter transaction writeback
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index afc5267515e2..652cf305a967 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -762,6 +762,7 @@ struct buffer_head *btrfs_alloc_free_block(struct btrfs_trans_handle *trans, | |||
762 | BUG_ON(ret); | 762 | BUG_ON(ret); |
763 | buf = btrfs_find_create_tree_block(root, ins.objectid); | 763 | buf = btrfs_find_create_tree_block(root, ins.objectid); |
764 | set_buffer_uptodate(buf); | 764 | set_buffer_uptodate(buf); |
765 | set_radix_bit(&trans->transaction->dirty_pages, buf->b_page->index); | ||
765 | return buf; | 766 | return buf; |
766 | } | 767 | } |
767 | 768 | ||