]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't attempt IO reissue from the ring exit path
authorJens Axboe <axboe@kernel.dk>
Wed, 24 Feb 2021 02:17:35 +0000 (19:17 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Feb 2021 02:18:13 +0000 (19:18 -0700)
commit17dbb14740f8a47d2ab64e1cd19134065b04c8b7
tree54174fc5f340870547021faa82a4f89df9a803da
parent8ad232b502d830758bcfb8432837cb710b927dd7
io_uring: don't attempt IO reissue from the ring exit path

If we're exiting the ring, just let the IO fail with -EAGAIN as nobody
will care anyway. It's not the right context to reissue from.

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