...and make it work :)

This commit is contained in:
Vitaliy Filippov
2020-02-25 22:52:03 +03:00
parent a406c62a71
commit df66a76ce2
3 changed files with 41 additions and 6 deletions
+5 -2
View File
@@ -287,10 +287,14 @@ void osd_t::handle_primary_subop(osd_op_t *cur_op, int ok, uint64_t version)
{
continue_primary_read(cur_op);
}
else
else if (cur_op->req.hdr.opcode == OSD_OP_WRITE)
{
continue_primary_write(cur_op);
}
else if (cur_op->req.hdr.opcode == OSD_OP_SYNC)
{
continue_primary_sync(cur_op);
}
}
}
@@ -447,7 +451,6 @@ resume_2:
.oid = it->first.oid,
.version = it->second,
};
last_start++;
last_end++;
}
if (last_osd != 0)