qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 07/26] block: add missing coroutine_fn annotations


From: Paolo Bonzini
Subject: Re: [PATCH v2 07/26] block: add missing coroutine_fn annotations
Date: Tue, 17 May 2022 11:51:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 5/16/22 20:49, Alberto Faria wrote:
Thanks for the heads up. In fact, looking at block-backend-io.h,
there's quite a few functions that (AFAICT) we could implement using
generated_co_wrapper:

     - blk_pread, blk_preadv, blk_preadv_part
     - blk_pwrite, blk_pwritev, blk_pwritev_part
     - blk_pwrite_compressed, blk_pwrite_zeroes
     - blk_pdiscard
     - blk_flush
     - blk_truncate, blk_ioctl

Would this make sense?

Yes, I think so.

Paolo




reply via email to

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