aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorXingui Yang <yangxingui@huawei.com>2024-10-08 10:18:18 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2024-10-15 22:33:35 -0400
commit90b24856b311e7e2f4f1629fb315ee50a4914aa5 (patch)
tree8f9e08b9b81987ae7f0beefa968567fde8afd713 /tools/perf/scripts/python/task-analyzer.py
parenta220bffebabe7227b4dbb8f811bc64ecf25e017e (diff)
downloadlinux-90b24856b311e7e2f4f1629fb315ee50a4914aa5.tar.gz
linux-90b24856b311e7e2f4f1629fb315ee50a4914aa5.tar.bz2
linux-90b24856b311e7e2f4f1629fb315ee50a4914aa5.zip
scsi: hisi_sas: Update disk locked timeout to 7 seconds
The SATA disk will be locked after the disk sends the DMA Setup frame until all data frame transmission is completed. The CFG_ICT_TIMER_STEP_TRSH register is used for sata disk to configure the step size of the timer which records the time when the disk is locked. The unit is 1us and the default step size is 150ms. If the disk is locked for more than 7 timer steps, the io to be sent to the disk will end abnormally. The current timeout is only about 1 second, it is easy to trigger IO abnormal end when the SATA hard disk returns data slowly. Adjust the timeout to 7 seconds based on ERC time of most disks. Signed-off-by: Xingui Yang <yangxingui@huawei.com> Link: https://lore.kernel.org/r/20241008021822.2617339-10-liyihang9@huawei.com Reviewed-by: Xiang Chen <chenxiang66@hisilicon.com> Reviewed-by: Yihang Li <liyihang9@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions