bcachefs: Improve btree write buffer tracepoints
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 3 Nov 2023 02:31:16 +0000 (22:31 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:39 +0000 (11:47 -0500)
commit56db2429511e14291bdb0105899e02f074885d4d
treeecf21df467226727a69bd805a067094d90c61a5e
parentc259bd95d1df6a95d6a78b7f6ebc69c8d172126f
bcachefs: Improve btree write buffer tracepoints

 - add a tracepoint for write_buffer_flush_sync; this is expensive
 - fix the write_buffer_flush_slowpath tracepoint

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/btree_write_buffer.c
fs/bcachefs/trace.h