[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y35mXymUTC1lx50j@slm.duckdns.org>
Date: Wed, 23 Nov 2022 08:28:47 -1000
From: Tejun Heo <tj@...nel.org>
To: Kemeng Shi <shikemeng@...wei.com>
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 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?
--
tejun
Powered by blists - more mailing lists