News for hackers. Stuff that matters.
Re:Lord of the io_uring: io_uring tutorial, examples and ref... by dirtydroog on Sunday May 10, 2020 @06:12PM (#23136782)
Use timeouts?
Re:Lord of the io_uring: io_uring tutorial, examples and ref... by geofft on Sunday May 10, 2020 @07:43PM (#23137362)
How exactly? I/O in TASK_UNINTERRUPTIBLE/TASK_KILLABLE cannot be timed out - so part of my question is how io_uring handles that in general.
Re:Lord of the io_uring: io_uring tutorial, examples and ref... by cyphar on Monday May 11, 2020 @04:08AM (#23139904)
If it's just blocked, you could probably look at the io_uring kthreads. But as I mentioned in another comment, bpftrace is probably a more useful tool for things like this (and it's useful for general kernel debugging too!).