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>
Wed, 15 Jan 2020 22:05:03 +0000 (15:05 -0700)
commit7fd1c0f8c6910cd79146672b46c672acfb3ef841
treef7cd16494649af50c6f4f29cee04bb3a5cfa8c16
parent58e74ab3b2e1fb616aac73cdfd65b1fb02150c97
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