diff options
Diffstat (limited to 'libbcachefs/alloc_background.c')
-rw-r--r-- | libbcachefs/alloc_background.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/alloc_background.c b/libbcachefs/alloc_background.c index 2281b8d4..d0d7690a 100644 --- a/libbcachefs/alloc_background.c +++ b/libbcachefs/alloc_background.c @@ -1217,8 +1217,7 @@ static int invalidate_one_bucket(struct btree_trans *trans, if (ret) goto out; - trace_invalidate_bucket(c, bucket.inode, bucket.offset, cached_sectors); - this_cpu_inc(c->counters[BCH_COUNTER_bucket_invalidate]); + trace_and_count(c, bucket_invalidate, c, bucket.inode, bucket.offset, cached_sectors); --*nr_to_invalidate; out: bch2_trans_iter_exit(trans, &alloc_iter); |