projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3bdc62
)
blk-rq-qos: remove redundant finish_wait to rq_qos_wait.
author
Guo Xuenan
<guoxuenan@huawei.com>
Sun, 28 Jun 2020 13:56:25 +0000
(09:56 -0400)
committer
Jens Axboe
<axboe@kernel.dk>
Sun, 28 Jun 2020 14:11:14 +0000
(08:11 -0600)
It is no need do finish_wait twice after acquiring inflight.
Signed-off-by: Guo Xuenan <guoxuenan@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-rq-qos.c
patch
|
blob
|
history
diff --git
a/block/blk-rq-qos.c
b/block/blk-rq-qos.c
index 656460636ad34a176297bfb991aba977b3c0e9ca..18f3eab9f768a7a0a7438210e7fa9c46aa622ff8 100644
(file)
--- a/
block/blk-rq-qos.c
+++ b/
block/blk-rq-qos.c
@@
-273,8
+273,6
@@
void rq_qos_wait(struct rq_wait *rqw, void *private_data,
if (data.got_token)
break;
if (!has_sleeper && acquire_inflight_cb(rqw, private_data)) {
- finish_wait(&rqw->wait, &data.wq);
-
/*
* We raced with wbt_wake_function() getting a token,
* which means we now have two. Put our local token