Commit 066a2646 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: track_event_change()



This introduces a new helper for connecting time_stats to state changes,
i.e. when taking journal reservations is blocked for some reason.

We use this to track separately the different reasons the journal might
be blocked - i.e. space in the journal full, or the journal pin fifo
full.

Also do some cleanup and improvements on the time stats code.

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