]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita71e63ce95584c3914f9eb745f9762300f5f51c6
treede2a9aab9c2037aa027f598e66006de7b8cf70cd
parent8b0962f522735fa45f36a3382f4ce2a80a0dff7f
Btrfs: cache extent state in find_delalloc_range

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>
fs/btrfs/extent_io.c