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
@@ -27,7 +27,7 @@
#define IS_INSTANT(st) (((st) & BS_ST_TYPE_MASK) == BS_ST_DELETE || ((st) & BS_ST_INSTANT))
#define BS_SUBMIT_CHECK_SQES(n) \
if (ringloop->sqes_left() < (n))\
if (ringloop->space_left() < (n))\
{\
/* Pause until there are more requests available */\
PRIV(op)->wait_detail = (n);\