summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorKeoseong Park <keosung.park@samsung.com>2023-04-25 12:17:21 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-24 17:32:31 +0100
commit262841702603e8a0285c95476aa2ee7b27edd80b (patch)
tree68b5e77aa0f2ae7e57b8428ad316f795e4679f6d /lib
parent27c6b573d1501a457f1e797aa659e820b1c67797 (diff)
downloadlinux-262841702603e8a0285c95476aa2ee7b27edd80b.tar.gz
scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend
[ Upstream commit 1a7edd041f2d252f251523ba3f2eaead076a8f8d ]

Even when urgent BKOPS fails, the consumer will get stuck in runtime
suspend status. Like commit 1a5665fc8d7a ("scsi: ufs: core: WLUN suspend
SSU/enter hibern8 fail recovery"), trigger the error handler and return
-EBUSY to break the suspend.

Fixes: b294ff3e3449 ("scsi: ufs: core: Enable power management for wlun")
Signed-off-by: Keoseong Park <keosung.park@samsung.com>
Link: https://lore.kernel.org/r/20230425031721epcms2p5d4de65616478c967d466626e20c42a3a@epcms2p5
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions