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

From: Martin K. Petersen
Date: Tue Jul 21 2020 - 23:05:58 EST



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