[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 06/16] block/mirror: Use CoQueue to wait on i
From: |
Fam Zheng |
Subject: |
Re: [Qemu-block] [PATCH v2 06/16] block/mirror: Use CoQueue to wait on in-flight ops |
Date: |
Tue, 27 Feb 2018 16:37:18 +0800 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Mon, 01/22 23:07, Max Reitz wrote:
> qemu_iovec_destroy(&op->qiov);
> - g_free(op);
>
> - if (s->waiting_for_io) {
> - qemu_coroutine_enter(s->common.co);
> - }
> + qemu_co_queue_restart_all(&op->waiting_requests);
> + g_free(op);
OK, this answers my question to patch 5.
Fam
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-block] [PATCH v2 06/16] block/mirror: Use CoQueue to wait on in-flight ops,
Fam Zheng <=