Fix fsync check in blockstore_flush (data fsyncs were disabled instead of journal fsyncs)
parent
7ebf1588c5
commit
06f4978085
|
@ -804,7 +804,7 @@ bool journal_flusher_co::fsync_batch(bool fsync_meta, int wait_base)
|
||||||
goto resume_1;
|
goto resume_1;
|
||||||
else if (wait_state == wait_base+2)
|
else if (wait_state == wait_base+2)
|
||||||
goto resume_2;
|
goto resume_2;
|
||||||
if (!(fsync_meta ? bs->disable_meta_fsync : bs->disable_journal_fsync))
|
if (!(fsync_meta ? bs->disable_meta_fsync : bs->disable_data_fsync))
|
||||||
{
|
{
|
||||||
cur_sync = flusher->syncs.end();
|
cur_sync = flusher->syncs.end();
|
||||||
while (cur_sync != flusher->syncs.begin())
|
while (cur_sync != flusher->syncs.begin())
|
||||||
|
|
Loading…
Reference in New Issue