diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-08-18 23:58:33 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-08-19 00:03:15 +0300 |
commit | 8452fd0ce657a4313dfa784f11320971b67727fd (patch) | |
tree | 924cc6737d2a615860b6d8fa426fd5b5eec5b513 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3b2a4439e0ae1732f90877a7160bbf42e1beb4b6 (diff) | |
download | linux-8452fd0ce657a4313dfa784f11320971b67727fd.tar.xz |
io_uring: cleanup io_import_iovec() of pre-mapped request
io_rw_prep_async() goes through a dance of clearing req->io, calling
the iovec import, then re-setting req->io. Provide an internal helper
that does the right thing without needing state tweaked to get there.
This enables further cleanups in io_read, io_write, and
io_resubmit_prep(), but that's left for another time.
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