From 111516381ff5c6f4001322b2aff72a30c68346f7 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 14 Jan 2020 18:41:53 +0300 Subject: [PATCH] Add FIXME --- blockstore_write.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/blockstore_write.cpp b/blockstore_write.cpp index 2acdfcf1..8a84bdd1 100644 --- a/blockstore_write.cpp +++ b/blockstore_write.cpp @@ -153,6 +153,7 @@ int blockstore_impl_t::dequeue_write(blockstore_op_t *op) BS_SUBMIT_GET_SQE_DECL(sqe2); data2 = ((ring_data_t*)sqe2->user_data); } + // FIXME: Write journal sector here only if it is full. Otherwise, defer it until SYNC. This will help reduce WA // Got SQEs. Prepare journal sector write journal_entry_small_write *je = (journal_entry_small_write*) prefill_single_journal_entry(journal, JE_SMALL_WRITE, sizeof(struct journal_entry_small_write));