+16
−2
Loading
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: bf0beec0 ("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>