Skip to content
Commit 9655d298 authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent d5550c63
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment