]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: disable multishot poll for double poll add cases
authorJens Axboe <axboe@kernel.dk>
Thu, 15 Apr 2021 15:47:13 +0000 (09:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Apr 2021 02:17:11 +0000 (20:17 -0600)
commit8f48c3f26498ca6f4a63bb4442b26bbe6a76adc8
treecc163f7ff91437566925b7ff992a212c17af5bd1
parentf7fbf479e7459032c3e1d3be89af4aa244535076
io_uring: disable multishot poll for double poll add cases

The re-add handling isn't correct for the multi wait case, so let's
just disable it for now explicitly until we can get that sorted out. This
just turns it into a one-shot request. Since we pass back whether or not
a poll request terminates in multishot mode on completion, this should
not break properly behaving applications that check for IORING_CQE_F_MORE
on completion.

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