Wrap all submit_primary_xxx_subops waits with if (n_subops) > 0

This commit is contained in:
Vitaliy Filippov
2026-05-11 15:17:50 +03:00
parent 7432494e88
commit 5100f822d8
3 changed files with 25 additions and 10 deletions
+5 -2
View File
@@ -769,8 +769,11 @@ resume_3:
op_data->fact_ver++;
submit_primary_del_subops(cur_op, NULL, 0, op_data->object_state ? op_data->object_state->osd_set : pg.cur_loc_set);
resume_4:
op_data->st = 4;
return;
if (op_data->n_subops > 0)
{
op_data->st = 4;
return;
}
resume_5:
if (op_data->errors > 0)
{