]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: simplify io_task_match()
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 6 Nov 2020 13:00:21 +0000 (13:00 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Dec 2020 19:04:00 +0000 (12:04 -0700)
commit9dda6cf7565db3fc9375a8cfc7530fd6618e8fae
tree6b67091a5b2b13f50c0d9b26c53884d12270cf39
parentde38f336bc1f090710959c7c58ec7c8a7b8a9fc6
io_uring: simplify io_task_match()

If IORING_SETUP_SQPOLL is set all requests belong to the corresponding
SQPOLL task, so skip task checking in that case and always match.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c