From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 46F592BB9E for ; Wed, 17 Apr 2019 15:56:41 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mKYZnSFlKt68 for ; Wed, 17 Apr 2019 15:56:41 -0400 (EDT) Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 54CB72B975 for ; Wed, 17 Apr 2019 15:56:40 -0400 (EDT) From: Vladislav Shpilevoy Subject: [tarantool-patches] [PATCH 0/4] swim suspicion preparation Date: Wed, 17 Apr 2019 22:56:33 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: kostja@tarantool.org This is a set of preparatory patches for SWIM suspicion mechanism - the last SWIM's native component. First two patches are pure refactoring to make the code more reusable. Next third patch fixes a bug about invalidation of a round message when it is scheduled for sending but is not actually sent. It led to sending empty packets when the kernel slowly generates output events. The fourth commit fixes a bug made round packet cache working not in full power. Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-3234-swim-suspicion-preparation Issue: https://github.com/tarantool/tarantool/issues/3234 Vladislav Shpilevoy (4): swim: move sockaddr_in checkers to swim_proto.h swim: extract binary ip/port into a separate struct swim: fix a bug with invalidation of round msg in fly swim: do not rebuild packet meta multiple times src/lib/swim/swim.c | 32 +++++++++------- src/lib/swim/swim_io.c | 29 +++++++++++++-- src/lib/swim/swim_proto.c | 77 +++++++++++++++++++++++++++------------ src/lib/swim/swim_proto.h | 70 ++++++++++++++++++++++++----------- 4 files changed, 146 insertions(+), 62 deletions(-) -- 2.17.2 (Apple Git-113)