]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: file set registration should use interruptible waits
authorJens Axboe <axboe@kernel.dk>
Wed, 8 Jan 2020 15:26:07 +0000 (08:26 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:04 +0000 (17:04 -0700)
commitbc7e0931e18b7a7fe3d6aeef52f92df7c7dd461a
treeae5000abfeaf34ce0f55d60003122bec52d30f00
parent9db6764179d990965b6e5de0d716af231a675414
io_uring: file set registration should use interruptible waits

If an application attempts to register a set with unbounded requests
pending, we can be stuck here forever if they don't complete. We can
make this wait interruptible, and just abort if we get signaled.

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