Skip to content
Commit 9fa8cfe7 authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 8e0ee43b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment