]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add task-refs-get helper
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 27 Aug 2021 10:55:01 +0000 (11:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Aug 2021 13:29:41 +0000 (07:29 -0600)
commit85e9ef495e988fb09279d63e5284785af9019739
tree6e89fed58538efb603f1edd294cbb25d850e6ea9
parentbd1269a19c012899b9355c48c4f24f2d7fab95d9
io_uring: add task-refs-get helper

As we have a more complicated task referencing, which apart from normal
task references includes taking tctx->inflight and caching all that, it
would be a good idea to have all that isolated in helpers.

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