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)
commitc150368b496837cb207712e78f903ccfd7633b93
treeae5000abfeaf34ce0f55d60003122bec52d30f00
parent96fd84d83a778450ffae737d9efa546ac3983b1f
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