Re: [PATCH 0/3] ublk: validate zoned SET_PARAMS earlier

Jens Axboe <[email protected]>
Newsgroups org.kernel.vger.linux-block
Message-ID <178683850862.1984298.8753344739278946673.b4-ty@b4>
On Fri, 14 Aug 2026 10:32:23 +0800, Yao Sang wrote:
> UBLK_F_ZONED uses params.basic.chunk_sectors as zone size. ublk also
> uses it to calculate number of zones with ilog2().
> 
> Before this series, SET_PARAMS can accept non-power-of-2 zone size.
> Then the device fails later when it is started. Reject it in SET_PARAMS
> and add one selftest for this kind of parameter checks.
> 
> [...]

Applied, thanks!

[1/3] ublk: reject non-power-of-2 zone sizes in SET_PARAMS
      commit: 2707acf1856da266139986c9398ad722fd4f48c0
[2/3] selftests: ublk: add helper for SET_PARAMS
      commit: 176f02a86c0384df4ba175e319321b07089a8016
[3/3] selftests: ublk: add SET_PARAMS validation test
      commit: 007af5e5cc822aed3a0909534ffb810f7816ed1f

Best regards,
-- 
Jens Axboe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.