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