linux/io_uring
Pavel Begunkov c29848249f io_uring: break iopolling on signal
[ upstream commit dc314886cb ]

Don't keep spinning iopoll with a signal set. It'll eventually return
back, e.g. by virtue of need_resched(), but it's not a nice user
experience.

Cc: stable@vger.kernel.org
Fixes: def596e955 ("io_uring: support for IO polling")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/eeba551e82cad12af30c3220125eb6cb244cc94c.1691594339.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:22:54 +02:00
..
io_uring.c io_uring: break iopolling on signal 2023-09-19 12:22:54 +02:00
io-wq.c io_uring: break out of iowq iopoll on teardown 2023-09-19 12:22:54 +02:00
io-wq.h io_uring: break out of iowq iopoll on teardown 2023-09-19 12:22:54 +02:00
Makefile io_uring: move to separate directory 2022-12-14 11:37:31 +01:00