From: Chaitanya Kulkarni <chaitanyak@nvidia.com>
To: Keith Busch <kbusch@meta.com>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"axboe@kernel.dk" <axboe@kernel.dk>, "hch@lst.de" <hch@lst.de>
Cc: "yukuai@fnnas.com" <yukuai@fnnas.com>,
Keith Busch <kbusch@kernel.org>,
Matthew Wilcox <willy@infradead.org>
Subject: Re: [PATCH] block: fix merging data-less bios
Date: Tue, 11 Nov 2025 16:00:47 +0000 [thread overview]
Message-ID: <a4cca7d2-dbb2-482c-b8a9-7965520e06ab@nvidia.com> (raw)
In-Reply-To: <20251111140620.2606536-1-kbusch@meta.com>
On 11/11/25 06:06, Keith Busch wrote:
> From: Keith Busch<kbusch@kernel.org>
>
> The data segment gaps the block layer tracks doesn't apply to bio's that
> don't have data. Skip calculating this to fix a NULL pointer access.
>
> Fixes: 2f6b2565d43cdb5 ("block: accumulate memory segment gaps per bio")
> Reported-by: Matthew Wilcox<willy@infradead.org>
> Signed-off-by: Keith Busch<kbusch@kernel.org>
> ---
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
-ck
next prev parent reply other threads:[~2025-11-11 16:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 14:06 [PATCH] block: fix merging data-less bios Keith Busch
2025-11-11 14:10 ` Christoph Hellwig
2025-11-11 14:18 ` Yu Kuai
2025-11-11 15:36 ` Jens Axboe
2025-11-11 15:45 ` Matthew Wilcox
2025-11-11 16:00 ` Chaitanya Kulkarni [this message]
2025-11-11 16:26 ` Venkat
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=a4cca7d2-dbb2-482c-b8a9-7965520e06ab@nvidia.com \
--to=chaitanyak@nvidia.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=kbusch@meta.com \
--cc=linux-block@vger.kernel.org \
--cc=willy@infradead.org \
--cc=yukuai@fnnas.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