Am 21.02.24 um 13:54 schrieb Christoph Hellwig:
Pass the constant limits directly to blk_mq_alloc_disk, set the nonrot flag there as well, and then use the commit API to change the transfer size and logical block size dependent values. This relies on the assumption that no I/O can be pending before the devices moves into the ready state and doesn't need extra freezing for changes to the queue limits. Signed-off-by: Christoph Hellwig <hch@xxxxxx> ---
Reviewed-by: Stefan Haberland <sth@xxxxxxxxxxxxx>