Skip to content

Commit c92bdde

Browse files
Algodev-githubaxboe
authored andcommitted
block, bfq: clarify the goal of bfq_split_bfqq()
The exact, general goal of the function bfq_split_bfqq() is not that apparent. Add a comment to make it clear. Tested-by: Oleksandr Natalenko <[email protected]> Signed-off-by: Paolo Valente <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent db37a34 commit c92bdde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

block/bfq-iosched.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5979,6 +5979,8 @@ static void bfq_finish_requeue_request(struct request *rq)
59795979
}
59805980

59815981
/*
5982+
* Removes the association between the current task and bfqq, assuming
5983+
* that bic points to the bfq iocontext of the task.
59825984
* Returns NULL if a new bfqq should be allocated, or the old bfqq if this
59835985
* was the last process referring to that bfqq.
59845986
*/

0 commit comments

Comments
 (0)