aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2019-11-13 16:12:46 -0700
committerJens Axboe <[email protected]>2019-11-13 16:15:14 -0700
commit5e559561a8d7e6d4adfce6aa8fbf3daa3dec1577 (patch)
treee517c845a7d4e0014be9cd13e7c1404dafec361e /scripts/gdb/linux/timerlist.py
parent5683e5406e94ae1bfb0d9516a18fdb281d0f8d1d (diff)
io_uring: ensure registered buffer import returns the IO length
A test case was reported where two linked reads with registered buffers failed the second link always. This is because we set the expected value of a request in req->result, and if we don't get this result, then we fail the dependent links. For some reason the registered buffer import returned -ERROR/0, while the normal import returns -ERROR/length. This broke linked commands with registered buffers. Fix this by making io_import_fixed() correctly return the mapped length. Cc: [email protected] # v5.3 Reported-by: 李通洲 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions