commit | 58d3be2c60d2cf4e6bb65bb6200fa39a7bc477f9 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Aug 09 13:04:17 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 23 13:07:59 2021 -0600 |
tree | 56db10d69c2172010bcd2ee721b35df44f0f4b68 | |
parent | d3fddf6dddd84432161eb070ed8e34d14c8bf56a [diff] |
io_uring: improve ctx hang handling If io_ring_exit_work() can't get it done in 5 minutes, something is going very wrong, don't keep spinning at HZ / 20 rate, it doesn't help and it may take much of CPU time if there is a lot of workers stuck as such. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/9e2d1ca81d569f6bc628af1a42ff6663bff7ce9c.1628471125.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>