]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: only force async punt if poll based retry can't handle it
authorJens Axboe <axboe@kernel.dk>
Tue, 28 Apr 2020 19:16:53 +0000 (13:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 May 2020 04:24:27 +0000 (22:24 -0600)
commit1dc092b895e5f6a55abe111a00a741d9ed0ef8d6
tree0b5954fa5881a59c03ee2a9528341dab41c35c87
parentabfeb0cabb2f174085eff0987e9fa269058c0b9c
io_uring: only force async punt if poll based retry can't handle it

We do blocking retry from our poll handler, if the file supports polled
notifications. Only mark the request as needing an async worker if we
can't poll for it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c