From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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: owner-linux-mm@kvack.org List-ID: 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=