aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2023-03-14 13:11:05 +0900
committerJens Axboe <[email protected]>2023-03-15 06:50:23 -0600
commit63f886597085f346276e3b3c8974de0100d65f32 (patch)
tree792367e5858fd22b03884f3156529aa13be478ff /drivers/usb/cdns3/cdns3-ti.c
parent00e885efcfbb8712d3e1bfc1ae30639c15ca1d3b (diff)
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 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions