On 4/6/23 6:40 AM, Ming Lei wrote: > block size is one very key setting for block layer, and bad block size > could panic kernel easily. > > Make sure that block size is set correctly. > > Meantime if ublk_validate_params() fails, clear ub->params so that disk > is prevented from being added. Applied, and I added Breno's reported-by to the tags. -- Jens Axboe