Fix another part of the "async sqe clear" bug (followup to d9857a5340)

This commit is contained in:
Vitaliy Filippov
2022-02-01 01:14:56 +03:00
parent ebaf4d7a72
commit df0cd85352
2 changed files with 4 additions and 3 deletions
+3
View File
@@ -58,6 +58,7 @@
if (ringloop->sqes_left() < (n))\
{\
/* Pause until there are more requests available */\
PRIV(op)->wait_detail = (n);\
PRIV(op)->wait_for = WAIT_SQE;\
return 0;\
}
@@ -71,6 +72,7 @@
if (!sqe)\
{\
/* Pause until there are more requests available */\
PRIV(op)->wait_detail = 1;\
PRIV(op)->wait_for = WAIT_SQE;\
return 0;\
}
@@ -80,6 +82,7 @@
if (!sqe)\
{\
/* Pause until there are more requests available */\
PRIV(op)->wait_detail = 1;\
PRIV(op)->wait_for = WAIT_SQE;\
return 0;\
}