diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-27 22:37:27 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:39 -0500 |
commit | 74644030098a0c4932e194fa1b2fa052226f3868 (patch) | |
tree | 8e1b35c2d9468810a419c58a421f1994162e9795 /fs/bcachefs/data_update.c | |
parent | cb13f471390ce646a3d5aa9c599f7eec43ddb2ac (diff) | |
download | linux-74644030098a0c4932e194fa1b2fa052226f3868.tar.gz linux-74644030098a0c4932e194fa1b2fa052226f3868.tar.bz2 linux-74644030098a0c4932e194fa1b2fa052226f3868.zip |
bcachefs: count_event()
Small helper for event counters.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/data_update.c')
-rw-r--r-- | fs/bcachefs/data_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/data_update.c b/fs/bcachefs/data_update.c index 488279b3d08e..59b558c25977 100644 --- a/fs/bcachefs/data_update.c +++ b/fs/bcachefs/data_update.c @@ -321,7 +321,7 @@ nowork: &m->stats->sectors_raced); } - this_cpu_inc(c->counters[BCH_COUNTER_move_extent_fail]); + count_event(c, move_extent_fail); bch2_btree_iter_advance(&iter); goto next; |