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 23:51:41 +0000 (17:51 -0600)
commit6bfba7674974ad366cd1cf20ef93ee6500c53d9c
treeb17044dc66ccee24c267108abe2d02557718bdb1
parent6b3e79e8e2a0b132e2fa14912faf1b6a623725b4
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