Commit e9bc59f9 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: add missing bch2_latency_acct() call

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 4798bd24
...@@ -1647,7 +1647,7 @@ void bch2_btree_node_read(struct btree_trans *trans, struct btree *b, ...@@ -1647,7 +1647,7 @@ void bch2_btree_node_read(struct btree_trans *trans, struct btree *b,
if (sync) { if (sync) {
submit_bio_wait(bio); submit_bio_wait(bio);
bch2_latency_acct(ca, rb->start_time, READ);
btree_node_read_work(&rb->work); btree_node_read_work(&rb->work);
} else { } else {
submit_bio(bio); submit_bio(bio);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment