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: 10437117 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 35417602BF for ; Tue, 29 May 2018 21:18:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 276F62893A for ; Tue, 29 May 2018 21:18:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BDC728942; Tue, 29 May 2018 21:18:53 +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=unavailable 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 83B772893A for ; Tue, 29 May 2018 21:18:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967522AbeE2VSt (ORCPT ); Tue, 29 May 2018 17:18:49 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:42743 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967361AbeE2VRs (ORCPT ); Tue, 29 May 2018 17:17:48 -0400 Received: by mail-qt0-f194.google.com with SMTP id c2-v6so20599247qtn.9 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=k/RidypRGAvKUSwPw4aMawtq3dxKSfa3g+WS66ppCNc2Xuaab8/hVMY8QOlchXBa+B MiMshCb0lW2/JwJehmkDebGO+22BRiQwreydCMfAljnl4ysRYlfUfdcu5e9EcXo7cO6H Naqd+UMC8Q0M2MwhUO2rH244pPg2gp+7u5z5CoFfYiG3Jh3VUi5eT+VOzN+jVTB64EIw PsNqQOUS17lCUaglTlpOevMW8pSzJsrf9O/jFIoG8Phmn5zQkWCc+J65voIykce/XKqe zehsxDDewNjH/f/gmrwZV/LPl/QJWeqlHL97pVdW8NjRoNF8XuRQDmhTT9uA+EKn0o10 BUzQ== X-Gm-Message-State: APt69E19mxs9nP1DnLMRxB8aLFqkp5R1gxjLlhAfMT7/aOGHz0tK1o3f eTSboHQaGoUvMNFqPvACwl6PXw== 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-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@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=