Thread (41 messages) 41 messages, 3 authors, 2021-12-15

Re: [PATCH 09/15] scsi: libsas: Resume sas host before sending SMP IOs

From: John Garry <hidden>
Date: 2021-12-13 11:13:01

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<redacted>

Need to resume sas host before sending SMP IOs to ensure that
SMP IOs are sent sucessfully.
successfully

 >

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.
Signed-off-by: Xiang Chen<redacted>
Reviewed-by: John Garry<redacted>
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help