projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6003352
)
blk-mq: remove the request_list usage
author
Jens Axboe
<
[email protected]
>
Thu, 11 Oct 2018 23:03:21 +0000
(17:03 -0600)
committer
Jens Axboe
<
[email protected]
>
Wed, 7 Nov 2018 20:42:31 +0000
(13:42 -0700)
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]
>
block/blk-mq.c
patch
|
blob
|
history
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index 3f91c6e5b17a95876f2c9c9ccf7cc481f159c8cc..4c82dc44d4d82d5674840e961a71a0a2dc9ee5e2 100644
(file)
--- 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);
}