summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2026-07-29 11:10:41 -0600
committerJens Axboe <axboe@kernel.dk>2026-08-03 20:31:54 -0600
commit15c1339ef44054cc79c49b40b24a26aa80a2253e (patch)
tree2f739b9352e83d85b2db4c527621bdb36a86c49b /tools/perf/scripts/python/task-analyzer.py
parent24fd3706178f1ae5501fd1ff9036e170ed0665ba (diff)
ublk: remove WARN_ON_ONCE() in ublk_unmap_io()
io->res is set from struct ublksrv_io_cmd's result field, which is controlled by the ublk server process, without any validation. It's thus possible for userspace to trigger the io->res > rq_bytes warning. ublk_copy_user_pages() already limits the copy length to the request data length, so drop the warning. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Link: https://patch.msgid.link/20260729171041.45061-4-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions