io_uring: introduce ctx to tctx back map
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 6 Mar 2021 11:02:12 +0000 (11:02 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 7 Mar 2021 21:12:43 +0000 (14:12 -0700)
commit13bf43f5f4739739751c0049a1582610c283bdde
tree8871494c81857a87106bea42e0a636f947101a7f
parent2941267bd3dad018de1d51fe2cd996b7bc1e5a5d
io_uring: introduce ctx to tctx back map

For each pair tcxt-ctx create an object and chain it into ctx, so we
have a way to traverse all tctx that are using current ctx. Preparation
patch, will be used later.

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