diff options
| author | Cong Zhang <cong.zhang@oss.qualcomm.com> | 2025-12-03 11:34:21 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-18 13:55:19 +0100 |
| commit | be83e65542635ba08dd45cee980b5f679ff097a7 (patch) | |
| tree | bcb8c5c3759d6a738c6a77364ff2a4e0dfe6ec8c /include/net/aligned_data.h | |
| parent | 91aa13e108c75bc19d88eabedfa1403b518c161e (diff) | |
blk-mq: Abort suspend when wakeup events are pending
[ Upstream commit c196bf43d706592d8801a7513603765080e495fb ]
During system suspend, wakeup capable IRQs for block device can be
delayed, which can cause blk_mq_hctx_notify_offline() to hang
indefinitely while waiting for pending request to complete.
Skip the request waiting loop and abort suspend when wakeup events are
pending to prevent the deadlock.
Fixes: bf0beec0607d ("blk-mq: drain I/O when all CPUs in a hctx are offline")
Signed-off-by: Cong Zhang <cong.zhang@oss.qualcomm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
