Skip to content

Commit

Permalink
blk-mq: remove the request_list usage
Browse files Browse the repository at this point in the history
We don't do anything with it, that's just the legacy path.

Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Ming Lei <[email protected]>
Reviewed-by: Omar Sandoval <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Nov 7, 2018
1 parent 6003352 commit 7ac257b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions block/blk-mq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 7ac257b

Please sign in to comment.