scsi: storvsc: Add the support of hibernation
authorDexuan Cui <decui@microsoft.com>
Wed, 11 Sep 2019 23:35:16 +0000 (23:35 +0000)
committerSasha Levin <sashal@kernel.org>
Fri, 22 Nov 2019 01:10:44 +0000 (20:10 -0500)
commit56fb105859345d65aed08ebbb0f6160c4f0777eb
treeea50dc21161c52f3fe97f420ea518c963fb66de8
parent931cccc967730d43bb6325506baf51c8f83a9a58
scsi: storvsc: Add the support of hibernation

When we're in storvsc_suspend(), we're sure the SCSI layer has quiesced the
scsi device by scsi_bus_suspend() -> ... -> scsi_device_quiesce(), so the
low level SCSI adapter driver only needs to suspend/resume its own state.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/storvsc_drv.c