Compare commits

...

1 Commits

Author SHA1 Message Date
d235948551 Do not expect second notification when cqe returns error
All checks were successful
Test / test_write_xor (push) Successful in 40s
Test / test_write_iothreads (push) Successful in 41s
Test / test_heal_pg_size_2 (push) Successful in 2m24s
Test / test_heal_local_read (push) Successful in 2m24s
Test / test_reweight_half (push) Successful in 12s
Test / test_heal_ec (push) Successful in 2m19s
Test / test_snapshot_pool2 (push) Successful in 17s
Test / test_snapshot_read_bitmap (push) Successful in 15s
Test / test_heal_csum_32k_dmj (push) Successful in 2m19s
Test / test_heal_csum_32k_dj (push) Successful in 2m22s
Test / test_heal_csum_32k (push) Successful in 2m20s
Test / test_heal_csum_4k_dmj (push) Successful in 2m21s
Test / test_heal_csum_4k_dj (push) Successful in 2m23s
Test / test_resize (push) Successful in 16s
Test / test_resize_auto (push) Successful in 11s
Test / test_osd_tags (push) Successful in 9s
Test / test_enospc (push) Successful in 12s
Test / test_enospc_xor (push) Successful in 14s
Test / test_enospc_imm (push) Successful in 12s
Test / test_enospc_imm_xor (push) Successful in 16s
Test / test_scrub (push) Successful in 16s
Test / test_scrub_zero_osd_2 (push) Successful in 19s
Test / test_scrub_xor (push) Successful in 17s
Test / test_scrub_pg_size_3 (push) Successful in 16s
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Successful in 21s
Test / test_scrub_ec (push) Successful in 17s
Test / test_nfs (push) Successful in 13s
Test / test_rebalance_verify (push) Successful in 1m43s
Test / test_heal_csum_4k (push) Successful in 2m15s
Test / test_heal_antietcd (push) Successful in 2m19s
2025-11-16 02:19:48 +03:00

View File

@@ -120,7 +120,7 @@ void ring_loop_t::loop()
if (mt)
mu.lock();
struct ring_data_t *d = (struct ring_data_t*)cqe->user_data;
if (cqe->flags & IORING_CQE_F_MORE)
if ((cqe->flags & IORING_CQE_F_MORE) && cqe->res >= 0)
{
// There will be a second notification
if (mt)