Skip to content

Commit

Permalink
block, bfq: clarify the goal of bfq_split_bfqq()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Algodev-github authored and axboe committed Feb 3, 2020
1 parent db37a34 commit c92bdde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions block/bfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -5979,6 +5979,8 @@ static void bfq_finish_requeue_request(struct request *rq)
}

/*
* Removes the association between the current task and bfqq, assuming
* that bic points to the bfq iocontext of the task.
* Returns NULL if a new bfqq should be allocated, or the old bfqq if this
* was the last process referring to that bfqq.
*/
Expand Down

0 comments on commit c92bdde

Please sign in to comment.