Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1391939ybk; Thu, 14 May 2020 07:55:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTJzbb39elBkn6sOpWT5maDFZ44UCWmCZDBJHQnYZl4Bh1LGAxzFRL2ZL+hcZawshc5TrN X-Received: by 2002:a05:6402:3076:: with SMTP id bs22mr4588154edb.112.1589468131516; Thu, 14 May 2020 07:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589468131; cv=none; d=google.com; s=arc-20160816; b=z7hYuYDVWnvdp7ZqJ1Gvr99Iu8312DndG//TsbYoR6t8ewkmtXGR0JHxD3trzl61Am BtAjtQAiaEh6kthcJ+3zwC11E0ZnOoA8QGblZXAvXEfxB/1V6XMAYOzzaiihPRi+B7hJ LY2gXtofGyyE0Gd0Z2VqCnbCQy5BquJMDXusfC0LZMHjJTmtrKrgoup80+AT3575AGMQ 3ZdGs1+PKKbIZMGHfO8bUvdoiycCCe3kD3qU/OpHS9S56aQxQmFLODg0ZgkPK1cAZWFE glF8ZBQ8wqgTVUscUOwsXqsGPJki05wwSpEvMBx9BSb7myVvG3/gOJE7UGMasy4q1B+8 UgSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=aNtTa2d+n4621gDfYTPbcUqqYbeIm8uB0/qear6cWpg=; b=aq5Wr22+guWcN5YRIXovnmq18j1E9ud4UG+fe1o/0QPjL0b5/gtwa0YWk9a5NiMrrA JUlBTgJangQ5MyG83fMXSk6lvc047e24LsDF62lAsV3o3rZSaNCA2rI7nT/xBQJ9N0u7 IhfNOwPbl5iRf3/aJPD2jzy3p+hJR/Kg/k47VGxNGzP5/dkNyeG0r1L5EItYwjDDsciX W5C7zmFgEz4vc/uvMFMOLnnCXA9w7AGQsQ6lwGBRuc65Fxkyae0zMmzl1fgAxHzWWAxv 59ihSVKEDWSLMaHHLoQhVOJ0sGqoH5j9J2BFaU2EsxCzFDLAskKzhVG3MChSb+OBCzZg WBIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=QeELnO1W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si1793715edg.593.2020.05.14.07.55.08; Thu, 14 May 2020 07:55:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=QeELnO1W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728039AbgENOvV (ORCPT + 99 others); Thu, 14 May 2020 10:51:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726763AbgENOvT (ORCPT ); Thu, 14 May 2020 10:51:19 -0400 Received: from mail-qv1-xf42.google.com (mail-qv1-xf42.google.com [IPv6:2607:f8b0:4864:20::f42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98C78C061A0C; Thu, 14 May 2020 07:51:17 -0700 (PDT) Received: by mail-qv1-xf42.google.com with SMTP id l3so1788038qvo.7; Thu, 14 May 2020 07:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=aNtTa2d+n4621gDfYTPbcUqqYbeIm8uB0/qear6cWpg=; b=QeELnO1WNJbZma6EEnHeMi9LPg6qMoJehC+wk+8XY7BwCHhBJHE3zUOcgdbrSSnsxE hszjO+n7oLZR3ozCX/Frm7E5wqFeNhikXHOg0kZDTUEUTjbcqvWlCOh/B6ncBE62iIjZ QfCSBa5O0hsIhlEHRBPV2+XpEaoZSKpM4XFSe8TU2dV2Sw4bY7I3SYMEYWG8kgpjbHjQ BwUWXlmwGLeuAgz1kvr3rZwFnblqwDY789h3F2COPvbxYxOeS0iwb2zXrKRFnqUpCYA8 hGASsSrtmA0K9nRnOyT3+NrQIjXbvfAZyRW4PjnyM3hMyl0zypiqiYHiNPDqlCUCH1zK mG1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=aNtTa2d+n4621gDfYTPbcUqqYbeIm8uB0/qear6cWpg=; b=k5L7s3Z1Yge/Ezwv0xALbKehSy0EGxCnNk04ZX3+Af8EF2kjD1mIvzOxvc7oVtGLnj aQ1ARNEhGz++HQuzPUJ6HZFQnZmWMcjE7DGnRB5T2BaLiNr/0524ysLpuKPEJseVkSvX Q6A5ChlqwtaxuUpKGMVyzymgyJL0p52N4jmrVjlhhRrHoySLazFRZTZVmMWxNpgQ3b/C 3KV6yoBfoaftDRNdcR9CAb28fX9Pl9CT9G+zL9LN65OrANJTrWRFEy3MvNt6zEUi94Vr btvhktMLssROj9jobSn952uiSEf/jUuY8VCDLLCFFWuTqXZrA02AVj8daG+tRoABZYsh /GDg== X-Gm-Message-State: AOAM5337O9XV68aM83oo4ZJy5rrGFEGUwjY4W7X7+s/iYqfEiqo6dYqI K6ijOFWFLxSGPrr7frO6/q5mC/9EnD8= X-Received: by 2002:a05:6214:1543:: with SMTP id t3mr3002030qvw.122.1589467876536; Thu, 14 May 2020 07:51:16 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::1:97a6]) by smtp.gmail.com with ESMTPSA id n20sm2623277qtk.89.2020.05.14.07.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 07:51:15 -0700 (PDT) Date: Thu, 14 May 2020 10:51:14 -0400 From: Tejun Heo To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, newella@fb.com Subject: Re: [PATCH block/for-linus] iocost: don't let vrate run wild while there's no saturation signal Message-ID: <20200514145114.GG16815@mtj.duckdns.org> References: <20191015001811.GI18794@devbig004.ftw2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015001811.GI18794@devbig004.ftw2.facebook.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 14, 2019 at 05:18:11PM -0700, Tejun Heo wrote: > When the QoS targets are met and nothing is being throttled, there's > no way to tell how saturated the underlying device is - it could be > almost entirely idle, at the cusp of saturation or anywhere inbetween. > Given that there's no information, it's best to keep vrate as-is in > this state. Before 7cd806a9a953 ("iocost: improve nr_lagging > handling"), this was the case - if the device isn't missing QoS > targets and nothing is being throttled, busy_level was reset to zero. ... > Signed-off-by: Tejun Heo > Reported-by: Andy Newell > Fixes: 7cd806a9a953 ("iocost: improve nr_lagging handling") Jens, this one fell through the cracks. It still applies with only a small offset. Can you please apply? Thanks. -- tejun