summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCong Zhang <cong.zhang@oss.qualcomm.com>2025-12-03 11:34:21 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-18 14:00:10 +0100
commit0e3f7442789e4979bf5f30d525639a52ae400166 (patch)
treeb516185d3816f8fa6a6db3cab28b8c87c05fe901 /tools/perf/scripts/python
parent80c9941c2a5a4fb8c71edf86e7ca8374b5fe10d6 (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions