Skip to content
Commit 6bd68ec2 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Heap allocate btree_trans



We're using more stack than we'd like in a number of functions, and
btree_trans is the biggest object that we stack allocate.

But we have to do a heap allocatation to initialize it anyways, so
there's no real downside to heap allocating the entire thing.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 96dea3d5
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