|
@@ -58,6 +58,9 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk,
|
|
|
spin_lock_irq(q->queue_lock);
|
|
|
__elv_add_request(q, rq, where, 1);
|
|
|
__generic_unplug_device(q);
|
|
|
+ /* the queue is stopped so it won't be plugged+unplugged */
|
|
|
+ if (blk_pm_resume_request(rq))
|
|
|
+ q->request_fn(q);
|
|
|
spin_unlock_irq(q->queue_lock);
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(blk_execute_rq_nowait);
|