Skip to content
Snippets Groups Projects
Commit 6915eeed authored by Florian Fischer's avatar Florian Fischer
Browse files

[SubmitActor] don't manually invalidate broken chains after linux 5.15

Fixes: 3fb3892b
parent 05589fe7
No related branches found
No related tags found
1 merge request!407fix Future cancellation when using SINGLE_URING
...@@ -72,7 +72,8 @@ void SubmitActor::receive(Future* future) { ...@@ -72,7 +72,8 @@ void SubmitActor::receive(Future* future) {
// req1 -> invalid_req -> req3 // req1 -> invalid_req -> req3
// will submit only 2 instead of all 3 prepared sqes // will submit only 2 instead of all 3 prepared sqes
// See: https://github.com/axboe/liburing/issues/186 // See: https://github.com/axboe/liburing/issues/186
if (unlikely(static_cast<unsigned>(submitted) < prepared)) { if (unlikely(static_cast<unsigned>(submitted) < prepared) &&
emper::IO_MUST_INVALIDATE_BROKEN_CHAIN) {
io.cancelUnsubmittedChainParts<CallerEnvironment::EMPER>(*future); io.cancelUnsubmittedChainParts<CallerEnvironment::EMPER>(*future);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment