diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-16 17:21:00 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-21 20:15:01 -0400 |
| commit | 8a6fa52e07bc8d2e5535e1e2c64b621d34fef9c7 (patch) | |
| tree | f27279c58a06ca394c4d0b963d2c0cf9762ede4d | |
| parent | 84b9f17195b2d4914763feee00ca44be42c9f8e2 (diff) | |
| download | linux-8a6fa52e07bc8d2e5535e1e2c64b621d34fef9c7.tar.gz linux-8a6fa52e07bc8d2e5535e1e2c64b621d34fef9c7.zip | |
bcachefs: relock_fail tracepoint now includes btree
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
| -rw-r--r-- | fs/bcachefs/btree_locking.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_locking.c b/fs/bcachefs/btree_locking.c index a45cfae8f671..6663e186a960 100644 --- a/fs/bcachefs/btree_locking.c +++ b/fs/bcachefs/btree_locking.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include "bcachefs.h" +#include "btree_cache.h" #include "btree_locking.h" #include "btree_types.h" @@ -742,7 +743,9 @@ static noinline __cold int bch2_trans_relock_fail(struct btree_trans *trans, str struct printbuf buf = PRINTBUF; bch2_bpos_to_text(&buf, path->pos); - prt_printf(&buf, " l=%u seq=%u node seq=", f->l, path->l[f->l].lock_seq); + prt_printf(&buf, " %s l=%u seq=%u node seq=", + bch2_btree_id_str(path->btree_id), + f->l, path->l[f->l].lock_seq); if (IS_ERR_OR_NULL(f->b)) { prt_str(&buf, bch2_err_str(PTR_ERR(f->b))); } else { |
