Commit c92bddee authored by Paolo Valente's avatar Paolo Valente Committed by Jens Axboe
Browse files

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: default avatarOleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: default avatarPaolo Valente <paolo.valente@linaro.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent db37a34c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.
 */