[Top][All Lists]

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

Re: [Qemu-devel] [PATCH v6 05/20] block: Introduce byte-based aio read/w

From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v6 05/20] block: Introduce byte-based aio read/write
Date: Fri, 6 May 2016 08:12:06 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 05/06/2016 06:31 AM, Kevin Wolf wrote:
>> +++ b/include/sysemu/block-backend.h
>> @@ -110,9 +110,15 @@ int64_t blk_nb_sectors(BlockBackend *blk);
>>  BlockAIOCB *blk_aio_readv(BlockBackend *blk, int64_t sector_num,
>>                            QEMUIOVector *iov, int nb_sectors,
>>                            BlockCompletionFunc *cb, void *opaque);
>> +BlockAIOCB *blk_aio_preadv(BlockBackend *blk, int64_t offset,
>> +                           QEMUIOVector *iov, BdrvRequestFlags flags,
> If you have to respin for some reason, I think QEMUIOVectors are
> commonly called qiov, whereas iov is usually the name for struct iovec.

Copy-and-paste, but also a trivial cleanup.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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