在 2021/12/13 19:12, John Garry 写道:
Please consider these points:
About "scsi: libsas: Resume sas host before sending SMP IOs", just
have "Resume host while sending SMP IOs"
On 17/11/2021 02:45, chenxiang wrote:
From: Xiang Chen<chenxiang66@xxxxxxxxxxxxx>
Need to resume sas host before sending SMP IOs to ensure that
SMP IOs are sent sucessfully.
successfully
ok
>
When sending SMP IOs to the host we need to ensure that that host is
not suspended and may handle the commands. This is a better approach
than relying on the host to resume itself to handle such commands. So
use pm_runtime_get_sync() and pm_runtime_get_sync() calls for the host
when executing SMP tasks.
Ok, i will rewrite it.
Signed-off-by: Xiang Chen<chenxiang66@xxxxxxxxxxxxx>
Reviewed-by: John Garry<john.garry@xxxxxxxxxx>
.