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<jasow...@redhat.com>
Signed-off-by: zhanghailiang<zhang.zhanghaili...@huawei.com>
Signed-off-by: Zhang Chen<zhangchen.f...@cn.fujitsu.com>
Signed-off-by: Li Zhijian<lizhij...@cn.fujitsu.com>
---
  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

Reply via email to