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

Btrfs: search for an allocation hint while filling file COW



The allocator has some nice knobs for sending hints about where
to try and allocate new blocks, but when we're doing file allocations
we're not sending any hint at all.

This commit adds a simple extent map search to see if we can
quickly and easily find a hint for the allocator.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent f85d7d6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment