[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <0A676DC9-E730-460A-8C39-9E1851343339@linaro.org>
Date: Wed, 10 Feb 2021 12:13:59 +0100
From: Paolo Valente <paolo.valente@...aro.org>
To: Chunguang Xu <brookxu.cn@...il.com>
Cc: axboe@...nel.dk, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] bfq: amend the function name of
bfq_may_expire_for_budg_timeout()
> Il giorno 29 gen 2021, alle ore 11:51, Chunguang Xu <brookxu.cn@...il.com> ha scritto:
>
> From: Chunguang Xu <brookxu@...cent.com>
>
> The function name bfq_may_expire_for_budg_timeout() may be misspelled,
> try to fix it.
>
Ok for me to make this name longer.
Thanks,
Paolo
> Signed-off-by: Chunguang Xu <brookxu@...cent.com>
> ---
> block/bfq-iosched.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
> index 9e4eb0f..4f40c61 100644
> --- a/block/bfq-iosched.c
> +++ b/block/bfq-iosched.c
> @@ -4061,7 +4061,7 @@ static bool bfq_bfqq_budget_timeout(struct bfq_queue *bfqq)
> * condition does not hold, or if the queue is slow enough to deserve
> * only to be kicked off for preserving a high throughput.
> */
> -static bool bfq_may_expire_for_budg_timeout(struct bfq_queue *bfqq)
> +static bool bfq_may_expire_for_budget_timeout(struct bfq_queue *bfqq)
> {
> bfq_log_bfqq(bfqq->bfqd, bfqq,
> "may_budget_timeout: wait_request %d left %d timeout %d",
> @@ -4350,7 +4350,7 @@ static struct bfq_queue *bfq_select_queue(struct bfq_data *bfqd)
> * on the case where bfq_bfqq_must_idle() returns true, in
> * bfq_completed_request().
> */
> - if (bfq_may_expire_for_budg_timeout(bfqq) &&
> + if (bfq_may_expire_for_budget_timeout(bfqq) &&
> !bfq_bfqq_must_idle(bfqq))
> goto expire;
>
> @@ -5706,7 +5706,7 @@ static void bfq_completed_request(struct bfq_queue *bfqq, struct bfq_data *bfqd)
> * of its reserved service guarantees.
> */
> return;
> - } else if (bfq_may_expire_for_budg_timeout(bfqq))
> + } else if (bfq_may_expire_for_budget_timeout(bfqq))
> bfq_bfqq_expire(bfqd, bfqq, false,
> BFQQE_BUDGET_TIMEOUT);
> else if (RB_EMPTY_ROOT(&bfqq->sort_list) &&
> --
> 1.8.3.1
>
Powered by blists - more mailing lists