Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1554677 > unrolled thread

Re: [PATCH V5 09/17] blk-throttle: detect completed idle cgroup

Started byTejun Heo <tj@kernel.org>
First post2017-01-09 21:20 +0100
Last post2017-01-09 21:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH V5 09/17] blk-throttle: detect completed idle cgroup Tejun Heo <tj@kernel.org> - 2017-01-09 21:20 +0100

#1554677 — Re: [PATCH V5 09/17] blk-throttle: detect completed idle cgroup

FromTejun Heo <tj@kernel.org>
Date2017-01-09 21:20 +0100
SubjectRe: [PATCH V5 09/17] blk-throttle: detect completed idle cgroup
Message-ID<sXOAa-gv-21@gated-at.bofh.it>
Hello,

On Thu, Dec 15, 2016 at 12:33:00PM -0800, Shaohua Li wrote:
> @@ -1660,6 +1671,11 @@ static bool throtl_tg_can_downgrade(struct throtl_grp *tg)
>  	struct throtl_data *td = tg->td;
>  	unsigned long now = jiffies;
>  
> +	if (time_after_eq(now, tg->last_dispatch_time[READ] +
> +					td->throtl_slice) &&
> +	    time_after_eq(now, tg->last_dispatch_time[WRITE] +
> +					td->throtl_slice))
> +		return false;

So, the duration used here is gonna be made explicitly configurable by
a future patch, right?  Might be worthwhile to note that in the
description.

Thanks.

-- 
tejun

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web