From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) 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) From: 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> In-Reply-To: <20180529211724.4531-1-josef@toxicpanda.com> References: <20180529211724.4531-1-josef@toxicpanda.com> Sender: owner-linux-mm@kvack.org List-ID: 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 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=