[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1f2bb84b-6c8b-aaf1-053a-46fe8c773767@huawei.com>
Date: Thu, 24 Nov 2022 20:58:10 +0800
From: Kemeng Shi <shikemeng@...wei.com>
To: Tejun Heo <tj@...nel.org>
CC: <josef@...icpanda.com>, <axboe@...nel.dk>,
<cgroups@...r.kernel.org>, <linux-block@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 08/11] blk-throttle: remove repeat check of elapsed time
from last upgrade in throtl_hierarchy_can_downgrade
on 11/24/2022 2:28 AM, Tejun Heo wrote:
> On Wed, Nov 23, 2022 at 02:03:58PM +0800, Kemeng Shi wrote:
>> static bool throtl_hierarchy_can_downgrade(struct throtl_grp *tg)
>> {
>> + if (time_before(now, tg->td->low_upgrade_time + td->throtl_slice))
>> + return false;
>
> Does this even build? Where is td defined?
Sorry for this mistake, CONFIG_BLK_DEV_THROTTLING_LOW seems not be set on
default. I will fix this and build with CONFIG_BLK_DEV_THROTTLING_LOW
set.
--
Best wishes
Kemeng Shi
Powered by blists - more mailing lists