diff options
author | Christoph Hellwig <hch@infradead.org> | 2014-02-07 10:22:36 -0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-02-07 11:58:54 -0700 |
commit | 72a0a36e2854a6eadb4cf2561858f613f9cd4639 (patch) | |
tree | 26679a518f6e06640fd34a04fcff733450ef15e3 /block/blk-exec.c | |
parent | 96d2e8b5e288e9d2a40b95161b855944846526a5 (diff) | |
download | linux-stable-72a0a36e2854a6eadb4cf2561858f613f9cd4639.tar.gz linux-stable-72a0a36e2854a6eadb4cf2561858f613f9cd4639.tar.bz2 linux-stable-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.c | 2 |
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; } |