aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorWenchao Hao <[email protected]>2022-11-23 20:21:37 +0800
committerMartin K. Petersen <[email protected]>2022-11-24 03:41:31 +0000
commitcfee29ffb45b1c9798011b19d454637d1b0fe87d (patch)
tree1a31bcc544a44149f196f82bdc44b99a8371194b /scripts/gdb/linux/proc.py
parentec9780e48c77f469c339b53940ef0c5eacc8b9d2 (diff)
scsi: core: Do not increase scsi_device's iorequest_cnt if dispatch failed
If scsi_dispatch_cmd() failed, the SCSI command was not sent to the target. scsi_queue_rq() would return BLK_STS_RESOURCE if scsi_dispatch_cmd() failed, and the related request would be requeued. The timeout of this request would not fire, so noone would increase iodone_cnt. Signed-off-by: Wenchao Hao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions