[PATCH] NVMe: Format fix when going from 4k sector size to 512 bytes

Martin K. Petersen martin.petersen at oracle.com
Thu Dec 14 19:52:11 PST 2017


Jeff,

> +	blk_queue_logical_block_size(disk->queue, bs);
> +	blk_queue_physical_block_size(ns->queue, bs);

A bit messy that you mix ns->queue and disk->queue.

> +    	blk_limits_io_min(&ns->queue->limits, bs);

blk_queue_io_min(foo->queue, bs);

Otherwise OK.

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list