Skip to content

Commit 826f2f4

Browse files
JonathanSmithGuoaxboe
authored andcommitted
blk-rq-qos: remove redundant finish_wait to rq_qos_wait.
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>
1 parent f3bdc62 commit 826f2f4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎block/blk-rq-qos.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ void rq_qos_wait(struct rq_wait *rqw, void *private_data,
273273
if (data.got_token)
274274
break;
275275
if (!has_sleeper && acquire_inflight_cb(rqw, private_data)) {
276-
finish_wait(&rqw->wait, &data.wq);
277-
278276
/*
279277
* We raced with wbt_wake_function() getting a token,
280278
* which means we now have two. Put our local token

0 commit comments

Comments
 (0)