]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: use inflight_entry list for iopoll'ing
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 13 Jul 2020 20:37:10 +0000 (23:37 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jul 2020 18:55:44 +0000 (12:55 -0600)
commitda7994009e6ccccaf37e23accc630a0afec99d8b
tree82aaf33e1130c47011152f2d855b738b942c47c4
parent5334bdf2068412c100b19c53f9f77de3d2abe3a9
io_uring: use inflight_entry list for iopoll'ing

req->inflight_entry is used to track requests that grabbed files_struct.
Let's share it with iopoll list, because the only iopoll'ed ops are
reads and writes, which don't need a file table.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c