On 2022/9/17 0:19, Bart Van Assche wrote:
On 9/15/22 19:01, Wu Bo wrote:
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index 448748e..e84aea9 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -334,6 +334,7 @@ enum blk_eh_timer_return scsi_timeout(struct
request *req)
trace_scsi_dispatch_cmd_timeout(scmd);
scsi_log_completion(scmd, TIMEOUT_ERROR);
+ atomic_inc(&scmd->device->iotmo_cnt);
if (host->eh_deadline != -1 && !host->last_reset)
host->last_reset = jiffies;
Please rebase this patch on top of Martin's for-next branch and repost
this patch. I cannot apply this patch with "git am" on Martin's for-next
branch.
Thanks,
Bart.
.
Sorry. I will repost the patch.
Thanks,
Wu Bo.