[PATCH] nvme: reject the ns when the block size is smaller than a sector

Christoph Hellwig hch at lst.de
Thu Jan 14 12:43:11 EST 2021


On Wed, Jan 13, 2021 at 02:12:59PM -0800, Sagi Grimberg wrote:
>> But this only catches a physical block size < 512 for NVMe, not any other block device.
>>
>> Please fix it for the general case in blk_queue_physical_block_size().
>
> We actually call that later and would probably be better to check here..

We had a series for that a short while ago that got lost.



More information about the Linux-nvme mailing list