qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] block: use the request length for iov alignment


From: Jens Axboe
Subject: Re: [PATCH] block: use the request length for iov alignment
Date: Tue, 13 Sep 2022 08:25:57 -0600
User-agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1

On 9/13/22 8:12 AM, Keith Busch wrote:
> On Thu, Sep 08, 2022 at 09:45:26AM -0700, Keith Busch wrote:
>> From: Keith Busch <kbusch@kernel.org>
>>
>> An iov length needs to be aligned to the logical block size, which may
>> be larger than the memory alignment.
> 
> [cc'ing some other interested folks]
> 
> Any thoughts on this patch? It is fixing an observed IO error  when running
> virtio-blk with the default 512b logical block size backed by a drive 
> formatted
> with 4k logical block.

I ran into this issue and tested the patch. Works for me!

Tested-by: Jens Axboe <axboe@kernel.dk>

-- 
Jens Axboe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]