Messages in this thread | | | Subject | Re: [PATCH] scsi: core: Allow the state change from SDEV_QUIESCE to SDEV_BLOCK | From | "Martin K. Petersen" <> | Date | Tue, 21 Apr 2020 23:44:57 -0400 |
| |
Dexuan,
> However, from reading the code, I think the APIs don't really work for > aacraid, because, in the resume path of hibernation, when > aac_suspend() -> scsi_host_block() is called, scsi_device_quiesce() > has set the state to SDEV_QUIESCE, so aac_suspend() -> > scsi_host_block() returns -EINVAL. > > Fix the issue by allowing the state change.
Applied to 5.7/scsi-fixes, thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |