Compare commits

...

1 Commits

Author SHA1 Message Date
ee0bae573f Remove n_subops=0 (TODO also needs OSD unit tests)
All checks were successful
Test / test_enospc_imm (push) Successful in 13s
Test / test_enospc_imm_xor (push) Successful in 18s
Test / test_old_enospc (push) Successful in 11s
Test / test_old_enospc_imm (push) Successful in 11s
Test / test_old_enospc_xor (push) Successful in 16s
Test / test_old_enospc_imm_xor (push) Successful in 15s
Test / test_scrub (push) Successful in 15s
Test / test_scrub_zero_osd_2 (push) Successful in 15s
Test / test_scrub_xor (push) Successful in 18s
Test / test_heal_csum_4k (push) Successful in 2m20s
Test / test_heal_csum_4k_dj (push) Successful in 2m28s
Test / test_scrub_pg_size_3 (push) Successful in 18s
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Successful in 19s
Test / test_old_scrub (push) Successful in 15s
Test / test_scrub_ec (push) Successful in 20s
Test / test_old_scrub_zero_osd_2 (push) Successful in 16s
Test / test_old_scrub_xor (push) Successful in 19s
Test / test_old_scrub_pg_size_3 (push) Successful in 17s
Test / test_old_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Successful in 19s
Test / test_old_scrub_ec (push) Successful in 17s
Test / test_old_partwr_csum (push) Successful in 11s
Test / test_heal_old_csum_32k_dmj (push) Successful in 2m19s
Test / test_heal_old_csum_32k (push) Successful in 2m22s
Test / test_heal_old_csum_4k_dmj (push) Successful in 2m23s
Test / test_heal_old_csum_32k_dj (push) Successful in 2m27s
Test / test_nfs (push) Successful in 14s
Test / test_nfs_unaligned_append (push) Successful in 15s
Test / test_heal_old_csum_4k_dj (push) Successful in 2m22s
Test / test_heal_old_csum_4k (push) Successful in 2m19s
Test / test_heal_ec (push) Successful in 2m19s
2026-05-21 13:31:32 +03:00

View File

@@ -339,7 +339,6 @@ resume_12:
}
resume_6:
resume_7:
op_data->n_subops = 0;
if (!remember_unstable_write(cur_op, pg, pg.cur_loc_set, 6))
{
return;
@@ -375,16 +374,21 @@ resume_7:
);
recovery_stat[recovery_type].usec += usec;
}
if (immediate_commit == IMMEDIATE_ALL)
if (immediate_commit != IMMEDIATE_ALL)
{
// Do not delete anything, it will be deleted as part of copies_to_delete_after_sync
deref_object_state(pg, &op_data->object_state, true);
}
else
{
submit_primary_del_subops(cur_op, pg.cur_set.data(), pg.pg_size, op_data->object_state->osd_set);
}
deref_object_state(pg, &op_data->object_state, true);
if (op_data->n_subops > 0)
{
deref_object_state(pg, &op_data->object_state, true);
if (op_data->n_subops > 0)
{
resume_8:
op_data->st = 8;
return;
op_data->st = 8;
return;
}
resume_9:
if (op_data->errors > 0)
{