aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2023-03-14 04:11:05 +0000
committerJens Axboe <[email protected]>2023-03-15 12:50:23 +0000
commit63f886597085f346276e3b3c8974de0100d65f32 (patch)
tree792367e5858fd22b03884f3156529aa13be478ff /tools/perf/scripts/python/exported-sql-viewer.py
parentblk-mq: fix "bad unlock balance detected" on q->srcu in __blk_mq_run_dispatch... (diff)
downloadkernel-63f886597085f346276e3b3c8974de0100d65f32.tar.gz
kernel-63f886597085f346276e3b3c8974de0100d65f32.zip
block: null_blk: Fix handling of fake timeout request
When injecting a fake timeout into the null_blk driver using fail_io_timeout, the request timeout handler does not execute blk_mq_complete_request(), so the complete callback is never executed for a timedout request. The null_blk driver also has a driver-specific fake timeout mechanism which does not have this problem. Fix the problem with fail_io_timeout by using the same meachanism as null_blk internal timeout feature, using the fake_timeout field of null_blk commands. Reported-by: Akinobu Mita <[email protected]> Fixes: de3510e52b0a ("null_blk: fix command timeout completion handling") Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions