It's a good idea to use IOThread instead of COLO comparing thread. comparing thread can be completely replaced by IOThread, so this idea came.
This series of updates mainly include the old packet regularly check and primary/secondary network packets compare all into the IOThread processing. Please review,thanks. wangyong(4): colo-compare: Use IOThread context timer to Check old packet regularly colo-compare: Process pactkets in the IOThread of the primary colo-compare: Update the COLO document to add the IOThread configuration colo-compare: Update the COLO document to fix the processing of secondary packets in the main thread docs/colo-proxy.txt | 5 +- net/colo-compare.c | 175 ++++++++++++++++++++++++++++++++++++++-------------- net/colo.h | 1 + 3 files changed, 134 insertions(+), 47 deletions(-) -- 1.8.3.1