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>
Tue, 10 Aug 2021 19:52:07 +0000 (13:52 -0600)
commitbb176620c1f8d044ca3e6a56979226d7cb6878a4
tree5b8b0856e3d3cb79e853d35bbd392817b636f63d
parent7eee5014224d40935ca2d415b1c74ee5d8659b93
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