Hello, Mikulas!

> Hi
> 
> What is the logical_block_size of the underlying nvme device? - i.e. 
> what's the content of this file 
> /sys/block/nvme0n1/queue/logical_block_size in the virtual machine?
> 
It is 512. Whereas a physical is bigger, i.e. my device can not perform
I/O by 512 granularity.

As for virtual machine, i just simulated the problem so people can set
it up and check. The commit message describes how it can be reproduced.

The dm-ebs target which i setup does ebs to ubs conversion, so the NVME
driver gets BIOs are in size and aligned to ubs size. The ubs size
corresponds to the underlying physical device I/O size.

So your patch does not work if logical < physical. Therefore it does
not help my project.

--
Uladzislau Rezki

Reply via email to