Clear lsn on sync retry to prevent possible crash on full io_uring

This commit is contained in:
Vitaliy Filippov
2026-06-17 15:40:05 +03:00
parent cf2ba05e4b
commit 85c4be3957
+1
View File
@@ -115,6 +115,7 @@ int blockstore_impl_t::do_sync(blockstore_op_t *op, int base_state)
PRIV(op)->lsn = heap->get_completed_lsn();
if (!submit_fsyncs(PRIV(op)->pending_ops))
{
PRIV(op)->lsn = 0;
PRIV(op)->wait_detail = 1;
PRIV(op)->wait_for = WAIT_SQE;
return 0;