diff --git a/lib/ublk/ublk.c b/lib/ublk/ublk.c index 46306fe70..8ed0cd946 100644 --- a/lib/ublk/ublk.c +++ b/lib/ublk/ublk.c @@ -993,7 +993,10 @@ ublk_io_xmit(struct ublk_queue *q) } rc = io_uring_submit(&q->ring); - assert(rc == count); + if (rc != count) { + SPDK_ERRLOG("could not submit all commands\n"); + assert(false); + } return rc; }