Use only space_left, not sqes_left

This commit is contained in:
Vitaliy Filippov
2025-11-23 15:17:57 +03:00
parent 5d3f3f47a7
commit 3ad83e8d13
4 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ void blockstore_impl_t::check_wait(blockstore_op_t *op)
{
if (PRIV(op)->wait_for == WAIT_SQE)
{
if (ringloop->sqes_left() < PRIV(op)->wait_detail)
if (ringloop->space_left() < PRIV(op)->wait_detail)
{
// stop submission if there's still no free space
#ifdef BLOCKSTORE_DEBUG