aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorXingui Yang <[email protected]>2023-05-15 10:41:20 +0800
committerMartin K. Petersen <[email protected]>2023-05-16 21:36:40 -0400
commita090fc97617b1b2d0dc8dcb418cc614573a1a8be (patch)
tree7ef49402f8cb34e5eb71eb65f6ec269bcb97e568 /lib/test_fortify/write_overflow-strlcpy-src.c
parentb68daae9660b45a0bb3ac9df1f1746d15693d254 (diff)
scsi: hisi_sas: Change DMA setup lock timeout to 2.5s
DMA setup lock timeout protection is added when DMA setup frames are received. It's a function outside the protocol and used to prevent SATA disk I/Os from being delivered for a long time. The default value is 100ms, it's too strict and easily triggered timeout when the disk is overloaded or faulty. Based on the average I/O latency of 300 disks, we adjust the value to 2.5s. Signed-off-by: Xingui Yang <[email protected]> Signed-off-by: Yihang Li <[email protected]> Signed-off-by: Xiang Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions