From: Chris Mason Date: Thu, 11 Sep 2008 20:17:57 +0000 (-0400) Subject: Btrfs: Record dirty pages tree-log pages in an extent_io tree X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0c803c4049c5ca322d4795d8b74f28768603e0e;p=pandora-kernel.git Btrfs: Record dirty pages tree-log pages in an extent_io tree This is the same way the transaction code makes sure that all the other tree blocks are safely on disk. There's an extent_io tree for each root, and any blocks allocated to the tree logs are recorded in that tree. At tree-log sync, the extent_io tree is walked to flush down the dirty pages and wait for them. The main benefit is less time spent walking the tree log and skipping clean pages, and getting sequential IO down to the drive. Signed-off-by: Chris Mason --- Reading git-diff-tree failed