From e5a63ad343cc19c64875f2496ce5f7b992ef0c32 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Wed, 29 Jan 2025 15:51:37 -0500 Subject: [PATCH] bcachefs: Fix missing increment of move_extent_write counter Signed-off-by: Kent Overstreet --- fs/bcachefs/data_update.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/bcachefs/data_update.c b/fs/bcachefs/data_update.c index 642fbc60ecab..e2050256136e 100644 --- a/fs/bcachefs/data_update.c +++ b/fs/bcachefs/data_update.c @@ -436,6 +436,8 @@ void bch2_data_update_read_done(struct data_update *m, m->op.crc = crc; m->op.wbio.bio.bi_iter.bi_size = crc.compressed_size << 9; + this_cpu_add(m->op.c->counters[BCH_COUNTER_move_extent_write], m->k.k->k.size); + closure_call(&m->op.cl, bch2_write, NULL, NULL); } -- 2.50.1