From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 98E524696C4 for ; Wed, 19 Feb 2020 21:38:14 +0300 (MSK) Received: by mail-lf1-f66.google.com with SMTP id n25so957998lfl.0 for ; Wed, 19 Feb 2020 10:38:14 -0800 (PST) From: Cyrill Gorcunov Date: Wed, 19 Feb 2020 21:37:04 +0300 Message-Id: <20200219183713.17646-6-gorcunov@gmail.com> In-Reply-To: <20200219183713.17646-1-gorcunov@gmail.com> References: <20200219183713.17646-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 05/14] box/txn: rename txn_write_to_wal to txn_write_to_wal_async List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Signed-off-by: Cyrill Gorcunov --- src/box/txn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/box/txn.c b/src/box/txn.c index a4ca48224..682480c16 100644 --- a/src/box/txn.c +++ b/src/box/txn.c @@ -485,7 +485,7 @@ txn_entry_complete_cb(struct journal_entry *entry, void *data) } static int64_t -txn_write_to_wal(struct txn *txn) +txn_write_to_wal_async(struct txn *txn) { assert(txn->n_new_rows + txn->n_applier_rows > 0); @@ -584,7 +584,7 @@ txn_write(struct txn *txn) return 0; } fiber_set_txn(fiber(), NULL); - return txn_write_to_wal(txn); + return txn_write_to_wal_async(txn); } int -- 2.20.1