[PATCH v2 1/1] virtio: blk: support block sizes exceeding 512 bytes

Emil Renner Berthing emil.renner.berthing at canonical.com
Tue Sep 2 11:19:49 CEST 2025


Heinrich Schuchardt wrote:
> QEMU allows to specify the logical block size via parameter
> logical_block_size of a virtio-blk-device.
>
> The communication channel via virtqueues remains based on 512 byte blocks
> even if the logical_block_size is larger.
>
> Consider the logical block size in the block device driver.
>
> Reported-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Thanks!

Tested-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>


More information about the U-Boot mailing list