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, 9 Aug 2021 19:47:12 +0000 (13:47 -0600)
commitf60d3044cbe617d1b8cd72fd825b489f0bc88a83
tree15bc8bfbaa882615d2cdfc990c50788c1311cff8
parentcd22a99bda02864041878392478181722e168781
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