diff options
author | Bui Quang Minh <minhquangbui99@gmail.com> | 2025-01-03 18:04:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-03 20:54:14 +0300 |
commit | 2a51c327d4a4a2eb62d67f4ea13a17efd0f25c5c (patch) | |
tree | 8fa8817b18252e4f4e589f4b66ee2d790903b31a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d62c2f0d82753a05133411b1e242baf31f4ef68e (diff) | |
download | linux-2a51c327d4a4a2eb62d67f4ea13a17efd0f25c5c.tar.xz |
io_uring/rsrc: simplify the bvec iter count calculation
As we don't use iov_iter_advance() but our own logic in io_import_fixed(),
we can remove the logic that over-sets the iter's count to len + offset
then adjusts it later to len. This helps to make the code cleaner.
Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
Link: https://lore.kernel.org/r/20250103150412.12549-1-minhquangbui99@gmail.com
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