Browse Source

Remove trim_interval=1

blocking-uring-test
Vitaliy Filippov 3 years ago
parent
commit
95b0395493
  1. 2
      blockstore_flush.cpp

2
blockstore_flush.cpp

@ -8,7 +8,7 @@ journal_flusher_t::journal_flusher_t(int flusher_count, blockstore *bs)
active_until_sync = 0;
sync_required = true;
sync_threshold = flusher_count == 1 ? 1 : flusher_count/2;
journal_trim_interval = 1;//sync_threshold; //FIXME
journal_trim_interval = sync_threshold;
journal_trim_counter = 0;
journal_superblock = (uint8_t*)memalign(512, 512);
co = new journal_flusher_co[flusher_count];

Loading…
Cancel
Save