Commit e28307a1 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Silence unimportant tracepoints

Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent 7c0732b8
......@@ -181,12 +181,14 @@ bool __bch2_btree_node_relock(struct btree_trans *trans,
return true;
}
fail:
trace_btree_node_relock_fail(trans->fn, _RET_IP_,
path->btree_id,
&path->pos,
(unsigned long) b,
path->l[level].lock_seq,
is_btree_node(path, level) ? b->c.lock.state.seq : 0);
if (b != BTREE_ITER_NO_NODE_CACHED &&
b != BTREE_ITER_NO_NODE_INIT)
trace_btree_node_relock_fail(trans->fn, _RET_IP_,
path->btree_id,
&path->pos,
(unsigned long) b,
path->l[level].lock_seq,
is_btree_node(path, level) ? b->c.lock.state.seq : 0);
return false;
}
......
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