From: Chris Mason Date: Wed, 2 Sep 2009 19:22:30 +0000 (-0400) Subject: Btrfs: use a cached state for extent state operations during delalloc X-Git-Tag: v2.6.32-rc1~57^2^2~26^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9655d2982b53fdb38a9e0f2f11315b99b92d66e2;p=pandora-kernel.git Btrfs: use a cached state for extent state operations during delalloc This changes the btrfs code to find delalloc ranges in the extent state tree to use the new state caching code from set/test bit. It reduces one of the biggest causes of rbtree searches in the writeback path. test_range_bit is also modified to take the cached state as a starting point while searching. Signed-off-by: Chris Mason --- Reading git-diff-tree failed