]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: fix IOPOLL -EAGAIN retries
authorJens Axboe <axboe@kernel.dk>
Thu, 27 Aug 2020 22:40:19 +0000 (16:40 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Aug 2020 22:40:29 +0000 (16:40 -0600)
commit0f60c747b0c46c60e08830c96a0eeab7b7dcc330
treee5811c224ae3d95cc27d3a0d03142f07dc5fdca0
parent8f6ff74853a4408677b4c99418c6e4aadb047324
io_uring: fix IOPOLL -EAGAIN retries

This normally isn't hit, as polling is mostly done on NVMe with deep
queue depths. But if we do run into request starvation, we need to
ensure that retries are properly serialized.

Reported-by: Andres Freund <andres@anarazel.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c