bcachefs: Add tracepoint, counter for io_move_created_rebalance
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 13 May 2025 17:49:51 +0000 (13:49 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:58 +0000 (20:14 -0400)
commitc7378d0e5e23db8c7da8173d7961620078071796
tree21506669d51772c02cb358962809f5189ee0a51e
parente4e513f2d51d3852a7af90d50c890815a8af70b5
bcachefs: Add tracepoint, counter for io_move_created_rebalance

Internal moves shouldn't add new rebalance_work, but it's been reported
that this seems to be happening. Add a tracepoint and counter so we can
see what's going on.

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