Skip to content

What is the correct way to handle cancellation of in-flight requests? #918

Answered by axboe
ioquatix asked this question in Q&A
Discussion options

You must be logged in to vote

The way you are describing it, or at least the way I'm reading it, both A and B already completed. If they are in the CQ ring, that must be the case. Which means that if you issue a cancelation for B while processing A, then that cancelation will return -ENOENT as the request is no longer active/pending.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@ioquatix
Comment options

@axboe
Comment options

Answer selected by ioquatix
Comment options

You must be logged in to vote
2 replies
@axboe
Comment options

@ioquatix
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants