Commit adf16c6d authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bucket_alloc_fail tracepoint should only fire when we have to block



We don't want to fire the bucket_alloc_fail tracepoint on transaction
restart, when we can retry immediately - only when we the allocation
actually has to block.

Also, switch from sched_clock() to local_clock(), as we've been doing
elsewhere.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 307e3c13
Supports Markdown
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