From patchwork Tue May 29 21:17:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josef Bacik X-Patchwork-Id: 10437105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BCC8A604D4 for ; Tue, 29 May 2018 21:18:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC6C52872E for ; Tue, 29 May 2018 21:18:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A09F92874B; Tue, 29 May 2018 21:18:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A99E2871A for ; Tue, 29 May 2018 21:18:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E923B6B026C; Tue, 29 May 2018 17:17:48 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id DE5C36B0271; Tue, 29 May 2018 17:17:48 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B46586B026C; Tue, 29 May 2018 17:17:48 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qk0-f200.google.com (mail-qk0-f200.google.com [209.85.220.200]) by kanga.kvack.org (Postfix) with ESMTP id 7811E6B026E for ; Tue, 29 May 2018 17:17:48 -0400 (EDT) Received: by mail-qk0-f200.google.com with SMTP id f2-v6so726528qkm.10 for ; Tue, 29 May 2018 14:17:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references; bh=IyJFroynqUhehY8NnXUm2JeWo7lGd19vWi6nNWJ/sfY=; b=seXxZ8cBo53CA2ykJreLywa0f51PBReXfWMn8RoBDa/1MvM0bUd1qJwwSwSQVYvwn9 VzF+sSdhvR0iEnEZI5VVdZFyNUdvQr5EkYhjmBZvDB7qFUQdctHehAIYAgWYAxr0WtBU WhaTqRVmoVR2S5AeGG6wNwAxVzE4OB2BwBMYNlGJnHP/qS5QDwb+xp47XthFctoUG9Az xg+C1C4wk8RrkR1rf40/IyOSFypoXjxk+/uWUijcYLOiV3Ldj+Lzcp20EwCFp12Fy+ot TEKUzvRu9e04renbKKs2Go/IeV+zrwAmFmAGY9hx76lxq9vnXc4furWCdYA4ROXmgtS0 55Zg== X-Gm-Message-State: APt69E3TwRePr+cCkGmutf1wGAXZa1cxDES9pkG3p/wvoie3/Chggm0z g56g1+MOEgJ+Qgznh7qcHI9o32OzeI4lpQfXpx7P2KnlbGeRK9+iWJQVqyJQr9Adp6mrG5bgjOx LqLJ7x1Om2pe2P4UZJcp643pQNopsD3ByJJWHA+0Ce4OHb2sIy0qQt/08SZwlX31r/SPlMVq+n1 I/Vch/UpsjwjkDjRdfwVG7+BSSClQqbXpuKqgz2sDo0YvGnJXP8MMrRsQUOXy/vd4hjD4UI9/br cWnrJOGGaff4pbA+PnAYZGXflD4KKAI2t78Rx+yiLA907pakLZH/RyxblRSZob5uQ2bZ9TDmkI8 081JUE/O4VRySbvtprIUfM8D02rrb/98EmNg6mNCWL/SW4lDWEClN1VsELyIWzX6p3mFSn0LTv5 c X-Received: by 2002:a37:9007:: with SMTP id s7-v6mr78454qkd.354.1527628668258; Tue, 29 May 2018 14:17:48 -0700 (PDT) X-Received: by 2002:a37:9007:: with SMTP id s7-v6mr78419qkd.354.1527628667528; Tue, 29 May 2018 14:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527628667; cv=none; d=google.com; s=arc-20160816; b=Xh95NZMjisRnN5uXvHkbH+JRcGe60obofB5gWpT2VpBbd49k9oZX45WvR5pCSqfFfv SkMTQ0KOsB4+pu8a3Qc0L9r5e0QVLBLtHASAnBW0vXmkQbrXZQyyvkEY2M9Um4t2qdJk X69Wcgw5yPecyxLFYLl95e6PJvN655Tng+lOn+GZpsdXF0mxRy5RYo9nuVlsPToQP/zo ZFZtt1NcG4u1WPUh04Opa+gkc9PlM1frnX37WiDiWx4C6K+z2v+BKBxGZG/7sE+w5zH5 /TttgAG2i8HkTKH7q0a1wMQeOazaK8kHwwmDmqCJ/pdiqrrEhMjprPFghBN/GS29v6OA 0zCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=IyJFroynqUhehY8NnXUm2JeWo7lGd19vWi6nNWJ/sfY=; b=qJ405l6oGnNIGTkhdbQ1ZMhGCjEA/+3gxi6JPuvJLIWzhr3mjg1C59F6/iPg3Aa0aQ Wig1/fAxUtp2gsPPtq3q5EdvkSA/7UE6d5aQeTVCttI447UiLARP9zU8xkCwim3GRqjm 5L+D/SlPUZs5GIeVEJMHpZE5/oD1PHM1TIAVYq+6DvDZZh7rZ/4YIGuCLm+7AL3ZdB+f O6xsEIkK3DowbUaDHTxp2Zohz5Z0tTBxtWuoskRhfxDQd0qY9g/qy9lWIZNHKbpyx6VX kyRUvEFZfxL5szeKWrTM0Nkq9VGTLuWh9WIXBWI/D8EI8l61g/V76KRAqetHM4CN1nmQ RXXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=RaWuD3Ks; spf=neutral (google.com: 209.85.220.65 is neither permitted nor denied by best guess record for domain of josef@toxicpanda.com) smtp.mailfrom=josef@toxicpanda.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id k43-v6sor4125802qvk.17.2018.05.29.14.17.47 for (Google Transport Security); Tue, 29 May 2018 14:17:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.65 is neither permitted nor denied by best guess record for domain of josef@toxicpanda.com) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=RaWuD3Ks; spf=neutral (google.com: 209.85.220.65 is neither permitted nor denied by best guess record for domain of josef@toxicpanda.com) smtp.mailfrom=josef@toxicpanda.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IyJFroynqUhehY8NnXUm2JeWo7lGd19vWi6nNWJ/sfY=; b=RaWuD3KsXfFzd9GvINrZ5THBomvAAF9s8zNjYBXh0ujkdGr/p4XjVq0hWV8N7n+/Oe EfcqyQXLKpnEb5FGVnCgoxg9xei1uAQY4gcA1Y8c0HgKgYbCAMfF7Xg3oJGxBqsH0qgs Htl4vRR+WVHsuvGkE/87gC5AhFHEgsDwdNdXuG0fENwTANdvY5EsHlMulJ2WMfNZ+qBw S3BVyHyNKSrUU6/tIPP34I2C08+IbXw34d/Kc7/HICXhFNglehSehg2+0iwsg01RFDh6 8Hp6LZr458LwjpTw5zmIFY1oLkRTo13c9bB2Wa13B80804vOlBhtjk7rC7vw24nz9oEh gM1g== X-Google-Smtp-Source: ADUXVKLNAbwbhxyxNu7qukElTuxhXoCXC+o5oNMGSmMZY9Sv0qXbFltcxnrYCz6FN/EZOgDXoCxWgQ== X-Received: by 2002:a0c:b7af:: with SMTP id l47-v6mr90445qve.110.1527628667265; Tue, 29 May 2018 14:17:47 -0700 (PDT) Received: from localhost (cpe-2606-A000-4381-1201-225-22FF-FEB3-E51A.dyn6.twc.com. [2606:a000:4381:1201:225:22ff:feb3:e51a]) by smtp.gmail.com with ESMTPSA id r2-v6sm4338535qtj.54.2018.05.29.14.17.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 14:17:46 -0700 (PDT) From: Josef Bacik To: 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 Subject: [PATCH 13/13] Documentation: add a doc for blk-iolatency Date: Tue, 29 May 2018 17:17:24 -0400 Message-Id: <20180529211724.4531-14-josef@toxicpanda.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180529211724.4531-1-josef@toxicpanda.com> References: <20180529211724.4531-1-josef@toxicpanda.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP 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 + + "MAJOR:MINOR target=. This is the current queue depth for the group. + - delay=