Re: [PATCH 02/10] block: virtio-blk: check logical block size

Martin K. Petersen
2020-07-22T03:05:59Z

Christoph,

> Hmm, I wonder if we should simply add the check and warning to
> blk_queue_logical_block_size and add an error in that case. Then
> drivers only have to check the error return, which might add a lot
> less boiler plate code.

Yep, I agree.

--
Martin K. Petersen Oracle Linux Engineering