Re: [PATCH 15/15] scsi: hisi_sas: Use autosuspend for SAS controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





在 2021/12/13 18:50, John Garry 写道:
Please consider this rewrite:

ok, i will consider to rewrite it in next version


On 17/11/2021 02:45, chenxiang wrote:

scsi: hisi_sas: Use autosuspend for the host controller

From: Xiang Chen<chenxiang66@xxxxxxxxxxxxx>

For some scenarios, it may send many IOs in a short time, then SAS controller
will enter suspend and resume frequently which is invalid.
To avoid it, use autosuspend mode for SAS controller and set default
autosuspend delay time to 5s.

The controller may frequently enter and exit suspend for each IO which we need to deal with. This is inefficient and may cause too much suspend+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 still modified via sysfs.


Signed-off-by: Xiang Chen<chenxiang66@xxxxxxxxxxxxx>
Signed-off-by: John Garry<john.garry@xxxxxxxxxx>

Acked-by please

ok


Thanks,
John

.






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux