aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorAnastasia Kovaleva <[email protected]>2025-03-24 08:49:33 +0000
committerMartin K. Petersen <[email protected]>2025-04-22 00:45:04 +0000
commit54bebe46871d4e56e05fcf55c1a37e7efa24e0a8 (patch)
tree07ab7a1097f40d36c4d8cd95e377e841f014b26f /scripts/gcc-plugins/sancov_plugin.c
parentscsi: ufs: Introduce quirk to extend PA_HIBERN8TIME for UFS devices (diff)
downloadkernel-54bebe46871d4e56e05fcf55c1a37e7efa24e0a8.tar.gz
kernel-54bebe46871d4e56e05fcf55c1a37e7efa24e0a8.zip
scsi: core: Clear flags for scsi_cmnd that did not complete
Commands that have not been completed with scsi_done() do not clear the SCMD_INITIALIZED flag and therefore will not be properly reinitialized. Thus, the next time the scsi_cmnd structure is used, the command may fail in scsi_cmd_runtime_exceeded() due to the old jiffies_at_alloc value: kernel: sd 16:0:1:84: [sdts] tag#405 timing out command, waited 720s kernel: sd 16:0:1:84: [sdts] tag#405 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=66636s Clear flags for commands that have not been completed by SCSI. Fixes: 4abafdc4360d ("block: remove the initialize_rq_fn blk_mq_ops method") Signed-off-by: Anastasia Kovaleva <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions