Allow degraded/misplaced writes (for better performance)

This commit is contained in:
Vitaliy Filippov
2026-05-22 02:04:49 +03:00
parent 2533604514
commit c93bdf4369
7 changed files with 102 additions and 52 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ void osd_t::handle_primary_subop(osd_op_t *subop, osd_op_t *cur_op)
}
if ((op_data->errors + op_data->done) >= op_data->n_subops)
{
if (!op_data->errors || !op_data->done || opcode != OSD_OP_SEC_WRITE && opcode != OSD_OP_SEC_WRITE_STABLE)
if (opcode != OSD_OP_SEC_WRITE && opcode != OSD_OP_SEC_WRITE_STABLE)
{
delete[] op_data->subops;
op_data->subops = NULL;