|
From: | Jason Wang |
Subject: | Re: [Qemu-devel] [PATCH RESEND v2 01/18] net/colo: Add notifier/callback related helpers for filter |
Date: | Tue, 25 Apr 2017 19:40:34 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 2017年04月22日 16:35, zhanghailiang wrote:
We will use this notifier to help COLO to notify filter object to do something, like do checkpoint, or process failover event. Cc: Jason Wang<address@hidden> Signed-off-by: zhanghailiang<address@hidden> Signed-off-by: Zhang Chen<address@hidden> Signed-off-by: Li Zhijian<address@hidden> --- net/colo.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ net/colo.h | 19 +++++++++++ 2 files changed, 124 insertions(+)
Went through this series and I feel that the code duplicates (at least part) functionality of IOThread (iothread.c) . So I come to an idea that switch to use IOThread for COLO comparing thread then you can use aio bh to do the inter process communication.
Thoughts? Thanks
[Prev in Thread] | Current Thread | [Next in Thread] |