Re: [PATCH] block: fix divide by zero in queue_limit_discard_alignment()

From: Christoph Hellwig

Date: Thu Nov 26 2026 - 03:38:59 EST


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.