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

From: Christoph Hellwig
Date: Thu Jan 14 2021 - 12:44:18 EST


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.