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: 10437099 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 D5848601E9 for ; Tue, 29 May 2018 21:18:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4E1228991 for ; Tue, 29 May 2018 21:18:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9944289A0; Tue, 29 May 2018 21:18:11 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 448A628994 for ; Tue, 29 May 2018 21:18:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967450AbeE2VSG (ORCPT ); Tue, 29 May 2018 17:18:06 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:45901 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967355AbeE2VRs (ORCPT ); Tue, 29 May 2018 17:17:48 -0400 Received: by mail-qt0-f194.google.com with SMTP id i18-v6so9940606qtp.12 for ; Tue, 29 May 2018 14:17:47 -0700 (PDT) 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-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IyJFroynqUhehY8NnXUm2JeWo7lGd19vWi6nNWJ/sfY=; b=DfBCmUi6iY+3p0rLZFoAHyFuiaDEh76NTjhKcOAC1JdD4diOoduJfoVK0m/iYUGKBC soUNgSvLBrpgCRxNLlq0dy0FLd8UQO7TlKtV/Vgh76AvdFm3Bo073w43z0qCcCqZeU1P SrOfa92jHfcvqT2/FlrlniCxemKKoc3ahz0C+WiLidTIVaXtron2km2VoNAlBK2qX5Da zQgY9YZrqz8HIzFc6rbYtvvmcn1vBup78IT6cjjHtAw0yUrwfwtFVEKYQxOjogKOUAyV kUzpo/OT9GM2GM5BJpb9lf58GYWBNCrp+Uixukbq64Na9uQgVf8SqF48ZvspDD7cbR3V Hb7A== X-Gm-Message-State: APt69E1OyM/leUqLHrtDB8LP6VuEyN3bxP5UehvqEtIe05KnO+X5M+Ch 0jit2qFyq6bpR00ToTlnvHOIpQ== 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> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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=