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) | |
download | linux-stable-7c4452b9a6ca7aabe37ea2e43d443110bdc08cd8.tar.gz linux-stable-7c4452b9a6ca7aabe37ea2e43d443110bdc08cd8.tar.bz2 linux-stable-7c4452b9a6ca7aabe37ea2e43d443110bdc08cd8.zip |
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, BUG_ON(ret); buf = btrfs_find_create_tree_block(root, ins.objectid); set_buffer_uptodate(buf); + set_radix_bit(&trans->transaction->dirty_pages, buf->b_page->index); return buf; } |