Commit f442e1fd authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'assert-submitted-expected' into 'master'

[io] Transform assert() to EMPER_ASSERT_MSG() in GlobalIoContext

See merge request i4/manycore/emper!380
parents 7d076eba a2cd1936
......@@ -36,7 +36,9 @@ static void assert_submitted(ATTR_UNUSED unsigned submitted, ATTR_UNUSED unsigne
// Reporting how many sqes were submitted uses khead which
// is written asynchronously by the poller kthread
if constexpr (emper::IO_SQ_POLLER == IoSqPoller::off) {
assert(submitted == expected);
EMPER_ASSERT_MSG(submitted == expected,
"Submitted io_uring SQE count "
<< submitted << " does not match the expected number of " << expected);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment