liburing: Connect and link timeout + SQPOLL

Hello,

My app uses io_uring_prep_connect with io_uring_prep_link_timeout and everything looks good if flag IORING_SETUP_SQPOLL not set. But if the flag is set then event of io_uring_prep_link_timeout in case of failure is not fired.

Could you please point me what I do wrong?

Minimal example (c++): https://gist.github.com/ksergey/e860613c904bef7a8ce4af1a4db65c5b

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

@axboe thanks a lot!

Any data structure passed in must be valid at submission time.

Looks like I missed that in documentation

Thanks a lot!