Re: [PATCH] hw/nvme: Change alignment in dma functions for nvme_blk_*

2023-03-23 Thread Klaus Jensen
On Mar 20 13:40, Mateusz Kozlowski wrote: > Since the nvme_blk_read/write are used by both the data and metadata > portions of the IO, it can't have the 512B alignment requirement. > Without this change any metadata transfer, which length isn't a multiple > of 512B and which is bigger than 512B,

[PATCH] hw/nvme: Change alignment in dma functions for nvme_blk_*

2023-03-20 Thread Mateusz Kozlowski
Since the nvme_blk_read/write are used by both the data and metadata portions of the IO, it can't have the 512B alignment requirement. Without this change any metadata transfer, which length isn't a multiple of 512B and which is bigger than 512B, will result in only a partial transfer.