]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
bcachefs: add missing bch2_latency_acct() call
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 3 Jan 2024 22:32:07 +0000 (17:32 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 6 Jan 2024 04:24:20 +0000 (23:24 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_io.c

index cf5089cc358e5d9a377e4f5658bfbb289ad80639..378579bbe2ede6da15591b89a3b2a08c9f9fd37e 100644 (file)
@@ -1647,7 +1647,7 @@ void bch2_btree_node_read(struct btree_trans *trans, struct btree *b,
 
                if (sync) {
                        submit_bio_wait(bio);
-
+                       bch2_latency_acct(ca, rb->start_time, READ);
                        btree_node_read_work(&rb->work);
                } else {
                        submit_bio(bio);