Btrfs: cache extent state in find_delalloc_range
authorJosef Bacik <josef@redhat.com>
Tue, 2 Feb 2010 21:19:11 +0000 (21:19 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 15 Mar 2010 15:00:13 +0000 (11:00 -0400)
This patch makes us cache the extent state we find in find_delalloc_range since
we'll have to lock the extent later on in the function.  This will keep us from
re-searching for the rang when we try to lock the extent.

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found