From: Paolo Valente Date: Mon, 3 Feb 2020 10:41:00 +0000 (+0100) Subject: block, bfq: clarify the goal of bfq_split_bfqq() X-Git-Tag: v5.6-rc1~49^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c92bddee77353a773f0df76115c1a01877ce1eae;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Paolo Valente Signed-off-by: Jens Axboe --- diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index fff76c920968..8c436abfaf14 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c @@ -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. */