io_uring: use inflight_entry instead of compl.list
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Aug 2021 19:18:10 +0000 (20:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:09:43 +0000 (13:09 -0600)
commitbb943b8265c84e9553903161bc39ff45f427d00d
tree9bfc9e6caa986a3bd67258e862be8afa6641f8ab
parent7255834ed6ef9658b9e7fb192da6a323a64eac98
io_uring: use inflight_entry instead of compl.list

req->compl.list is used to cache freed requests, and so can't overlap in
time with req->inflight_entry. So, use inflight_entry to link requests
and remove compl.list.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e430e79d22d70a190d718831bda7bfed1daf8976.1628536684.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c