summaryrefslogtreecommitdiffstats
path: root/block/blk-exec.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-02-07 19:22:36 +0100
committerJens Axboe <axboe@fb.com>2014-02-07 19:58:54 +0100
commit72a0a36e2854a6eadb4cf2561858f613f9cd4639 (patch)
tree26679a518f6e06640fd34a04fcff733450ef15e3 /block/blk-exec.c
parentMerge branch 'bcache-for-3.14' of git://evilpiepirate.org/~kent/linux-bcache ... (diff)
downloadlinux-72a0a36e2854a6eadb4cf2561858f613f9cd4639.tar.xz
linux-72a0a36e2854a6eadb4cf2561858f613f9cd4639.zip
blk-mq: support at_head inserations for blk_execute_rq
This is neede for proper SG_IO operation as well as various uses of blk_execute_rq from the SCSI midlayer. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-exec.c')
-rw-r--r--block/blk-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-exec.c b/block/blk-exec.c
index bbfc072a79c2..c68613bb4c79 100644
--- a/block/blk-exec.c
+++ b/block/blk-exec.c
@@ -65,7 +65,7 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk,
* be resued after dying flag is set
*/
if (q->mq_ops) {
- blk_mq_insert_request(q, rq, true);
+ blk_mq_insert_request(q, rq, at_head, true);
return;
}