From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 4AE80469719 for ; Thu, 5 Mar 2020 15:29:48 +0300 (MSK) Received: by mail-lj1-f178.google.com with SMTP id f13so5874202ljp.0 for ; Thu, 05 Mar 2020 04:29:48 -0800 (PST) From: Cyrill Gorcunov Date: Thu, 5 Mar 2020 15:29:33 +0300 Message-Id: <20200305122943.7324-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 00/10] box/journal: redesign sync and async writes List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Kostya, take a look please, once time permit. I think tearing through the patches won't be easy since changes are too intrusive so maybe an easier way to look into the final result by applying the series. https://github.com/tarantool/tarantool/blob/gorcunov/gh-4031-txn_write_to_wal-10/src/box/txn.c#L590 https://github.com/tarantool/tarantool/blob/gorcunov/gh-4031-txn_write_to_wal-10/src/box/journal.c https://github.com/tarantool/tarantool/blob/gorcunov/gh-4031-txn_write_to_wal-10/src/box/wal.c#L1186 https://gitlab.com/tarantool/tarantool/pipelines/123555588 branch gorcunov/gh-4031-txn_write_to_wal-10 Cyrill Gorcunov (10): box: recovery_journal_create -- set journal here box/txn: move fiber_set_txn to header box/txn: rename txn_write to txn_commit_async box/txn: move setup of txn start to txn_prepare box/txn: add txn_commit_nop helper box/txn: unweave txn_commit from txn_commit_async box/txn: clear fiber storage right before journal write box/txn: move journal allocation into separate routine box/journal: journal_entry_new -- drop setting up callbacks box/journal: redesign sync and async writes src/box/applier.cc | 2 +- src/box/box.cc | 7 +- src/box/journal.c | 31 ++++++--- src/box/journal.h | 52 +++++++++++--- src/box/txn.c | 164 ++++++++++++++++++++++++++++++--------------- src/box/txn.h | 9 ++- src/box/vy_log.c | 3 +- src/box/wal.c | 106 ++++++++++++++++++++++++++--- 8 files changed, 287 insertions(+), 87 deletions(-) base-commit: ed2e14305b28f35c33d947aadcc62ddbe8c863e6 -- 2.20.1