Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit d2cb6b21 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Simplify btree key cache fill path


Don't allocate the new bkey_cached until after we've done the btree
lookup; this means we can kill bkey_cached.valid.

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