Btrfs: don't preallocate metadata blocks during btrfs_search_slot
authorChris Mason <chris.mason@oracle.com>
Fri, 13 Mar 2009 14:24:59 +0000 (10:24 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 24 Mar 2009 20:14:25 +0000 (16:14 -0400)
In order to avoid doing expensive extent management with tree locks held,
btrfs_search_slot will preallocate tree blocks for use by COW without
any tree locks held.

A later commit moves all of the extent allocation work for COW into
a delayed update mechanism, and this preallocation will no longer be
required.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found