Re: [PATCH] ublk: validate all parameters for zoned devices
From: Jens Axboe
Date: Sun Nov 15 2026 - 10:43:06 EST
On Sun, 15 Nov 2026 00:33:49 +0800, shao.mingyin@xxxxxxxxxx wrote:
> ublk_validate_params() returns as soon as zoned parameters are valid,
> skipping the subsequent DMA alignment, segment and integrity checks.
> SET_PARAMS therefore accepts combinations that it rejects for a
> non-zoned device, including integrity parameters without UBLK_F_INTEGRITY.
> Invalid parameters may reach disk creation or advertise an integrity
> format that the server cannot access.
>
> [...]
Applied, thanks!
[1/1] ublk: validate all parameters for zoned devices
commit: 78c4f290e2637f8039e2124a174a24a341b38b1e
Best regards,
--
Jens Axboe