Sync before listing objects so flushes do not fail thereafter

This commit is contained in:
Vitaliy Filippov
2020-05-01 12:56:49 +03:00
parent cd87333091
commit 1bc08174f9
3 changed files with 69 additions and 2 deletions
-1
View File
@@ -4,7 +4,6 @@
void osd_t::submit_pg_flush_ops(pg_num_t pg_num)
{
// FIXME: SYNC before flushing
pg_t & pg = pgs[pg_num];
pg_flush_batch_t *fb = new pg_flush_batch_t();
pg.flush_batch = fb;