From: Valerie Aurora <val@versity.com>
To: rpdfs-devel@lists.linux.dev
Cc: Valerie Aurora <val@versity.com>
Subject: [PATCH 3/3] rpdfs: Add debugging for block not found case in rpdfs_use_txn_prepared
Date: Thu, 19 Mar 2026 10:37:27 +0100 [thread overview]
Message-ID: <20260319093727.15343-4-val@versity.com> (raw)
In-Reply-To: <20260319093727.15343-1-val@versity.com>
Add a bnr debug print for the case of calling rpdfs_use_txn_prepared
on a non-existent block.
Signed-off-by: Valerie Aurora <val@versity.com>
---
fs/rpdfs/txn.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/rpdfs/txn.c b/fs/rpdfs/txn.c
index ffb6402877bf..c7b430de77af 100644
--- a/fs/rpdfs/txn.c
+++ b/fs/rpdfs/txn.c
@@ -444,6 +444,7 @@ int rpdfs_txn_use_prepared(struct rpdfs_fs_info *rfi, struct rpdfs_transaction *
tblk = get_tblk(&txn->blocks, bnr, 0, false);
if (WARN_ON_ONCE(IS_ERR_OR_NULL(tblk))) {
+ rpdfs_prd("bnr %llu", bnr);
ret = -EINVAL;
goto out;
}
--
2.49.0
next prev parent reply other threads:[~2026-03-19 9:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-19 9:37 [PATCH 0/3] Minor locking fixes and debug output Valerie Aurora
2026-03-19 9:37 ` [PATCH 1/3] rpdfs: Use write_seqlock_bh() for balloc info Valerie Aurora
2026-03-25 22:05 ` Zach Brown
2026-03-19 9:37 ` [PATCH 2/3] rpdfs: Initialize block seqlock before using it and fix memleak Valerie Aurora
2026-03-25 22:08 ` Zach Brown
2026-03-19 9:37 ` Valerie Aurora [this message]
2026-03-25 22:09 ` [PATCH 3/3] rpdfs: Add debugging for block not found case in rpdfs_use_txn_prepared Zach Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260319093727.15343-4-val@versity.com \
--to=val@versity.com \
--cc=rpdfs-devel@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.