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

Btrfs: Defrag only leaves, and only when the parent node has a single objectid



This allows us to defrag huge directories, but skip the expensive defrag
case in more common usage, where it does not help as much.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent ff79f819
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