summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-11 17:03:21 -0600
committerJens Axboe <axboe@kernel.dk>2018-11-07 13:42:31 -0700
commit7ac257b862f2cfba3a909d1051499d390cffad6c (patch)
tree14f7ce80ac215e7253ef01ef5471885425e6b414 /block
parent600335205b8d162891b5ef2e32343f5b8020efd8 (diff)
downloadlinux-7ac257b862f2cfba3a909d1051499d390cffad6c.tar.gz
linux-7ac257b862f2cfba3a909d1051499d390cffad6c.tar.bz2
linux-7ac257b862f2cfba3a909d1051499d390cffad6c.zip
blk-mq: remove the request_list usage
We don't do anything with it, that's just the legacy path. Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 3f91c6e5b17a..4c82dc44d4d8 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -510,9 +510,6 @@ void blk_mq_free_request(struct request *rq)
rq_qos_done(q, rq);
- if (blk_rq_rl(rq))
- blk_put_rl(blk_rq_rl(rq));
-
WRITE_ONCE(rq->state, MQ_RQ_IDLE);
if (refcount_dec_and_test(&rq->ref))
__blk_mq_free_request(rq);
@@ -1675,8 +1672,6 @@ static void blk_mq_bio_to_request(struct request *rq, struct bio *bio)
{
blk_init_request_from_bio(rq, bio);
- blk_rq_set_rl(rq, blk_get_rl(rq->q, bio));
-
blk_account_io_start(rq, true);
}