Btrfs: more efficient split extent state insertion
authorFilipe Manana <fdmanana@gmail.com>
Wed, 12 Feb 2014 15:05:53 +0000 (15:05 +0000)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:16:57 +0000 (15:16 -0400)
commitf2071b21553bf8f1eae583e32b9068393f61cbe9
tree4ec95f346c0e4dae330d44d233edfe170fc8407a
parentcbc0e9287d710ce7dce5f8daf667729e83316c45
Btrfs: more efficient split extent state insertion

When we split an extent state there's no need to start the rbtree search
from the root node - we can start it from the original extent state node,
since we would end up in its subtree if we do the search starting at the
root node anyway.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/extent_io.c