diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-12-27 19:49:32 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-12-27 20:09:34 +0300 |
commit | c5f71916146033f9aba108075ff7087022075fd6 (patch) | |
tree | d927ead0550a7fcc18b967413796d224714b5431 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 21adbcaa8007f5e584d26bebb46ec46bfbbbd330 (diff) | |
download | linux-c5f71916146033f9aba108075ff7087022075fd6.tar.xz |
io_uring/rw: always clear ->bytes_done on io_async_rw setup
A previous commit mistakenly moved the clearing of the in-progress byte
count into the section that's dependent on having a cached iovec or not,
but it should be cleared for any IO. If not, then extra bytes may be
added at IO completion time, causing potentially weird behavior like
over-reporting the amount of IO done.
Fixes: d7f11616edf5 ("io_uring/rw: Allocate async data through helper")
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202412271132.a09c3500-lkp@intel.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