在 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:
quoted
From: Xiang Chen<redacted>
Need to resume sas host before sending SMP IOs to ensure that
SMP IOs are sent sucessfully.
successfully
ok
quoted
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.
quoted
Signed-off-by: Xiang Chen<redacted>
Reviewed-by: John Garry<redacted>
.