On Dec 23, 2025, at 04:15, Ionut Nechita (WindRiver) djiony2011@gmail.com wrote:
From: Ionut Nechita ionut.nechita@windriver.com
Fix warning "WARN_ON_ONCE(!async && in_interrupt())" that occurs during SCSI device scanning when blk_freeze_queue_start() calls blk_mq_run_hw_queues() synchronously from interrupt context.
The issue happens during device removal/scanning when:
- blk_mq_destroy_queue() -> blk_queue_start_drain()
- blk_freeze_queue_start() calls blk_mq_run_hw_queues(q, false)
- This triggers the warning in blk_mq_run_hw_queue() when in interrupt context
Change the synchronous call to asynchronous to avoid running in interrupt context.
Fixes: Warning in blk_mq_run_hw_queue+0x1fa/0x260
You've added a wrong format of Fixes tag.
Thanks.
Signed-off-by: Ionut Nechita ionut.nechita@windriver.com