commit | 9655d2982b53fdb38a9e0f2f11315b99b92d66e2 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Wed Sep 02 15:22:30 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Fri Sep 11 13:31:07 2009 -0400 |
tree | e1271f2f2a3c2c356e0692b36a2d4742b5d651d8 | |
parent | d5550c6315fe0647b7ac21a6a736bf4a42620eac [diff] |
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 <chris.mason@oracle.com>