Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4766063imm; Wed, 30 May 2018 11:33:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIDKuNhlYh+53MgaDsJ9fMJoUFVP7et4pNe/dSvbV/+tfhARJivYsLMRidbmZ7/40Lkwmi3 X-Received: by 2002:a17:902:b40f:: with SMTP id x15-v6mr3948338plr.270.1527705189374; Wed, 30 May 2018 11:33:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527705189; cv=none; d=google.com; s=arc-20160816; b=v+6FSvlA4PiZev5D3bwKJand7BNfM9vT0pfaX125ojNJ/BKLY4GfLAZ/ufR1XQ/Ix5 iPvaabcQxz5KicvAUh1d0oaNJ47+N1J7S/A39VjLEGSNX2YdMLZ/EzhNlWAjKrKgj/fb 1QpZWopzSdX6XzQPZ8v0NJ8BehHbpv2qzkPwtyZU2RzexVtbFiEFXK9oSSB5pERj7hOR PGzQtpdrAopv7mAQ/5Oi2yLfFcKSh4hoh+ewjXHxCgHX8cf1HmUlDTOnyE2WcIXoqyCR BLWfyUaJYyXdtV4VkWeJj6RUkNJg1oUjSgZNW4EVh9rX1Ok+65Od2A/gLlFqberXQoIz UjjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=4ax6618DIiH/zAW9r0hH/AiUFQEszc8ItDHzCsljv8k=; b=gskkhRPGRptUJeViNdqfnLST0B0B26J48ZtNZcNV25+WYopnVu9cWK/ZYEG/df7RLt V4grstePAsM1C1Kt1KfOfg6/im38CuewuyI07axQxDkOXlrM5IKc4KZyFsyDDTxEgoFc 5PNAYxoLTEYVz0MQdtqDUeSggdV/ho+veEsSMycnVcuixv+YNirWbFZunkmqNVNptqP/ AgB4/U2KeDd4ek4m3uGtiELUW1uvcwziA3x5qfMoOevXzUwZFBeYfV7y7NJHU8wWwgAy avg7oP2OIFJlFf6evS6i731CHEgIkruLFsWhzjAjMUZZJiOuEsV9NpsTOM0RNgJtflmD lzYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=s8PM4m2u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3-v6si15812414plz.93.2018.05.30.11.32.54; Wed, 30 May 2018 11:33:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=s8PM4m2u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932108AbeE3Sc2 (ORCPT + 99 others); Wed, 30 May 2018 14:32:28 -0400 Received: from merlin.infradead.org ([205.233.59.134]:56108 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753663AbeE3Sc1 (ORCPT ); Wed, 30 May 2018 14:32:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4ax6618DIiH/zAW9r0hH/AiUFQEszc8ItDHzCsljv8k=; b=s8PM4m2uCSSJ4s30jEL1AB8RcA 6jpPb+jTUdktPQL0WEe0P//n8mBeAJPnMF92tAAsvJI3pwUMX0XCNcNGPI2IF3Ha2nvWwdu7Q+DCW lcmls6ng/bJoeVmXTGk6DA7z1I2JbMoJwZBowQ+eJWlRClea1XZxqCjosfcxo6pEU+MgjivHRqFBK ZS6p7MBIu6G6da7A+/c3el3dNcZQe6UWewCjM/Ws+KejPjiU9G8DnHoxzdw8Ae3UyJCMPQll1my5o Rq0o5Tc+lGbmDbwqT6kcudMR0rFUXyLs/3q+EjpgjLlTzAQ9cJUAZa+n1uI7qVVVkUGzb5VeZqhfL KG726usQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fO5tV-0006Oj-VF; Wed, 30 May 2018 18:32:22 +0000 Subject: Re: [PATCH 13/13] Documentation: add a doc for blk-iolatency To: Josef Bacik , axboe@kernel.dk, kernel-team@fb.com, linux-block@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, tj@kernel.org, linux-fsdevel@vger.kernel.org Cc: Josef Bacik References: <20180529211724.4531-1-josef@toxicpanda.com> <20180529211724.4531-14-josef@toxicpanda.com> From: Randy Dunlap Message-ID: <4c044b70-8d53-055b-933b-1b8570bd4fc2@infradead.org> Date: Wed, 30 May 2018 11:32:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180529211724.4531-14-josef@toxicpanda.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/29/2018 02:17 PM, Josef Bacik wrote: > From: Josef Bacik > > A basic documentation to describe the interface, statistics, and > behavior of io.latency. > > Signed-off-by: Josef Bacik > --- > Documentation/blk-iolatency.txt | 80 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 80 insertions(+) > create mode 100644 Documentation/blk-iolatency.txt > > diff --git a/Documentation/blk-iolatency.txt b/Documentation/blk-iolatency.txt > new file mode 100644 > index 000000000000..9dd86f4f64b6 > --- /dev/null > +++ b/Documentation/blk-iolatency.txt > @@ -0,0 +1,80 @@ > +Block IO Latency Controller > + > +Overview > +======== > + > +This is a cgroup v2 controller for IO workload protection. You provide a group > +with a latency target, and if the average latency exceeds that target the > +controller will throttle any peers that have a lower latency target than the > +protected workload. > + > +Interface > +========= > + > +- io.latency. This takes a similar format as the other controllers end above sentence with a period or a colon: > + > + "MAJOR:MINOR target= + > +- io.stat. If the controller is enabled you will see extra stats in io.stat in > + addition to the normal ones end above sentence with a period. > + > + - depth=. This is the current queue depth for the group. > + - delay=