commit | 9fa8cfe706f9c20067c042a064999d5825a35330 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Fri Mar 13 10:24:59 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Tue Mar 24 16:14:25 2009 -0400 |
tree | 8e64281caffcdb3ad5a8ab8bf22bb90483e9e214 | |
parent | 8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 [diff] |
Btrfs: don't preallocate metadata blocks during btrfs_search_slot 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>