Check for SQEs, not for completions
Should finally fix Assertion `sqe != NULL' failed introduced after journaling refactor in 0.6.11...
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
#define IS_DELETE(st) (((st) & 0x0F) == BS_ST_DELETE)
|
||||
|
||||
#define BS_SUBMIT_CHECK_SQES(n) \
|
||||
if (ringloop->space_left() < (n))\
|
||||
if (ringloop->sqes_left() < (n))\
|
||||
{\
|
||||
/* Pause until there are more requests available */\
|
||||
PRIV(op)->wait_for = WAIT_SQE;\
|
||||
|
||||
Reference in New Issue
Block a user