From: Chris Mason Date: Sat, 28 Apr 2007 13:29:35 +0000 (-0400) Subject: Btrfs: smarter transaction writeback X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~577 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c4452b9a6ca7aabe37ea2e43d443110bdc08cd8;p=pandora-kernel.git Btrfs: smarter transaction writeback Signed-off-by: Chris Mason --- 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; } Reading git-diff-tree failed