io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SQPOLL question
@ 2020-09-06 15:44 Josef
  2020-09-06 15:49 ` Jens Axboe
  0 siblings, 1 reply; 13+ messages in thread
From: Josef @ 2020-09-06 15:44 UTC (permalink / raw)
  To: io-uring; +Cc: norman

Hi,

I'm trying to implement SQPOLL in netty at the moment, basically the
fd are registered by io_uring_register(2), which returns 0, but the
write event seems to fail with bad file descriptor error(-9) when
SQPOLL flag is enabled


small example to reproduce it:
https://gist.github.com/1Jo1/171790d549134b5b81ee51b23fb15cd0

what exactly am I doing wrong here? :)

---
Josef

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-09-08 17:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-06 15:44 SQPOLL question Josef
2020-09-06 15:49 ` Jens Axboe
2020-09-06 16:24   ` Josef
2020-09-06 16:25     ` Jens Axboe
2020-09-07 10:23       ` Josef
2020-09-07 12:49         ` Jens Axboe
2020-09-07 14:58           ` Josef
2020-09-07 15:51             ` Jens Axboe
2020-09-08  6:47               ` Josef
2020-09-08 14:36                 ` Jens Axboe
2020-09-08 14:57                   ` Jens Axboe
2020-09-08 17:42                     ` Josef
2020-09-08 17:46                       ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).