aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-11-26 12:58:15 +0100
committerJens Axboe <axboe@kernel.dk>2021-11-29 06:41:29 -0700
commitd538ea4cb8e7241af8091eee30483fabf64444a5 (patch)
treeaa6741c4badd6d776f0df6d5c618af9ac9985e99 /tools/perf/scripts/python/export-to-postgresql.py
parentblock: use alloc_io_context in __copy_io (diff)
downloadlinux-dev-d538ea4cb8e7241af8091eee30483fabf64444a5.tar.xz
linux-dev-d538ea4cb8e7241af8091eee30483fabf64444a5.zip
block: return the io_context from create_task_io_context
Grab a reference to the newly allocated or existing io_context in create_task_io_context and return it. This simplifies the callers and removes the need for double lookups. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211126115817.2087431-13-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions