Re: [PATCH 08/11] blk-throttle: remove repeat check of elapsed time from last upgrade in throtl_hierarchy_can_downgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux