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<[email protected]> Signed-off-by: zhanghailiang<[email protected]> Signed-off-by: Zhang Chen<[email protected]> Signed-off-by: Li Zhijian<[email protected]> --- 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
