]> 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)
commit9a05a8a28f3956805f7f25fea3637d11e66cb62b
tree6e89fed58538efb603f1edd294cbb25d850e6ea9
parent4d41e50999b2c1d6be7499181fe9c2d69c090f18
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