diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2021-12-20 14:21:38 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-12-23 07:38:31 +0300 |
commit | b4cc09492263e07bad4fc4bf34fed3246fa95057 (patch) | |
tree | e151d47f5f90dea5ad3e4d0a77762cbe6af52313 /drivers/scsi/ch.c | |
parent | 307d9f49cce966c2ba969f58bd6227bc0092afaa (diff) | |
download | linux-b4cc09492263e07bad4fc4bf34fed3246fa95057.tar.xz |
scsi: hisi_sas: Use autosuspend for the host controller
The controller may frequently enter and exit suspend for each I/O which we
need to deal with. This is inefficient and may cause too much suspend and
resume activity for the controller. To avoid this, use a default 5s
autosuspend for the controller to stop frequently suspending and
resuming. This value may still be modified via sysfs interfaces.
Link: https://lore.kernel.org/r/1639999298-244569-16-git-send-email-chenxiang66@hisilicon.com
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ch.c')
0 files changed, 0 insertions, 0 deletions