From: Christoph Hellwig <hch@infradead.org>
To: tongzhiwei <tongzhiwei@cmss.chinamobile.com>
Cc: Jens Axboe <axboe@kernel.dk>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
dm-devel@lists.linux.dev, syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH] block: fix divide by zero in queue_limit_discard_alignment()
Date: Thu, 26 Nov 2026 00:38:49 -0800 [thread overview]
Message-ID: <awfwGWfzhv61FV_0@infradead.org> (raw)
In-Reply-To: <20261125110353.366-1-tongzhiwei@cmss.chinamobile.com>
On Wed, Nov 25, 2026 at 07:03:51PM +0800, tongzhiwei wrote:
> Hi Christoph,
>
> thanks for the review. Please withdraw this patch.
>
> I do agree with the design to fix it on setup.
>
> Sorry for the noise, and thanks for the quick review.
You identified a real issue. As I said we should fix this in the setup
path. At least reject it in blk_validate_limits, and potentially higher
up the chain as well if that makes sense based on your reproducer.
prev parent reply other threads:[~2026-11-26 8:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 10:30 tongzhiwei
2026-11-20 15:24 ` Christoph Hellwig
2026-11-25 11:03 ` tongzhiwei
2026-11-26 8:38 ` Christoph Hellwig [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=awfwGWfzhv61FV_0@infradead.org \
--to=hch@infradead.org \
--cc=axboe@kernel.dk \
--cc=dm-devel@lists.linux.dev \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzkaller-bugs@googlegroups.com \
--cc=tongzhiwei@cmss.chinamobile.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®