From: Carlos Maiolino <cem@kernel.org>
To: Yousef Alhouseen <alhouseenyousef@gmail.com>
Cc: "Darrick J . Wong" <djwong@kernel.org>,
linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org,
syzbot+b7dfbed0c6c2b5e9fd34@syzkaller.appspotmail.com
Subject: Re: [PATCH v2] xfs: use null daddr for unset first bad log block
Date: Wed, 01 Jul 2026 14:50:22 +0200 [thread overview]
Message-ID: <178291022202.353898.3754217860736181964.b4-ty@b4> (raw)
In-Reply-To: <20260630100607.7150-1-alhouseenyousef@gmail.com>
On Tue, 30 Jun 2026 12:06:07 +0200, Yousef Alhouseen wrote:
> xlog_do_recovery_pass() may return before setting first_bad. The caller
> must distinguish that case from an error at a valid log block, including
> block zero after the log wraps.
>
> Initialize first_bad to XFS_BUF_DADDR_NULL and test it explicitly before
> treating the error as a torn write.
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: use null daddr for unset first bad log block
commit: cc9af5e461ea5f6e37738f3f1e41c45a9b7f45d6
Best regards,
--
Carlos Maiolino <cem@kernel.org>
prev parent reply other threads:[~2026-07-01 12:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 10:06 Yousef Alhouseen
2026-06-30 16:04 ` Darrick J. Wong
2026-07-01 10:56 ` Christoph Hellwig
2026-07-01 12:50 ` Carlos Maiolino [this message]
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=178291022202.353898.3754217860736181964.b4-ty@b4 \
--to=cem@kernel.org \
--cc=alhouseenyousef@gmail.com \
--cc=djwong@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=syzbot+b7dfbed0c6c2b5e9fd34@syzkaller.appspotmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®