Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3814254imm; Tue, 29 May 2018 14:20:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ4MyAGL4gOywLCN76eRm097iCb2bQEx9Haaoauxg02VAcdlOFPleLw1MJ/mOvrHMIkg7p3 X-Received: by 2002:a62:c45a:: with SMTP id y87-v6mr76309pff.190.1527628829565; Tue, 29 May 2018 14:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527628829; cv=none; d=google.com; s=arc-20160816; b=fW0qqSRGUD+94gf0ZbI9W/uMU7oROYwX6/cA0M+U4ft0tIiNWfwBwUPYs0qdXU65vs OWIxjLB77kpGFYy1kdgPloPx2k+WM8a81L8AM0CgATq5FvfPK335PGx7jY9K+NfMz2a2 zCDxY2uLaxQ51qAifJ1zNPl+rv/3BpZwp2aUoM1PYRKKpiII9SO1hwIcumggWbHNMIfp 2brF6mVQp+ltsQ//HLWZoac1N1pbma9Z4d6KonP8KlO6bitgxrwpUKknL52b95yKvdeX VA25cMXe1j9vfGAfJ/4ogQcJFv6nItwlAegZMQt9UwF108X9gnNYek676d2HdXGEuF1N 8C/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=IyJFroynqUhehY8NnXUm2JeWo7lGd19vWi6nNWJ/sfY=; b=NcM10x7RrqwO8/i5tJUUTxDAp0Je/C66C89jw9NsNkq8W9UgSwE8zkEpZJ/wGLEHWT 1f6gqv9MFQYUHmbtZ9GttPKUijo/Jh4jfKhF01WGWU4QzEjPORygl2nYzBP9M/43Mk9c 5qkW6HZPiMG5OpaNDNGbjnjIs5utHcyHfadi9ReMvL0Aa4Jly7BxiaqFNGbM+DWYoI1d 7mV4ngthCCslVWVhggSOpEcTDbr3yuoE2GjyUmRiFdkHaZOlYn1xz0i2tSVrJWbubQ56 34jIvs+gpRKPXhN4Cif2DpbNdNCXv1RXEQNceqV42+dmvivaD4KIheIKhsWH8vDk7hvF ix+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=RaWuD3Ks; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n59-v6si32855499plb.198.2018.05.29.14.20.15; Tue, 29 May 2018 14:20:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=RaWuD3Ks; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967467AbeE2VSN (ORCPT + 99 others); Tue, 29 May 2018 17:18:13 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:39443 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967348AbeE2VRs (ORCPT ); Tue, 29 May 2018 17:17:48 -0400 Received: by mail-qt0-f195.google.com with SMTP id f1-v6so20621476qtj.6 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=PM4bHKYSN0Wg27f132TeQ8ExGrt3Dey5tuST3niwojgrYBr22r+U3VuNIMwhf2lTGB x07AoZEYPqkCccV3gP45pS3sKm9DoXsrWCZIla/a4+kKyEgG9DswhCOZMWexPU9pq8ub 0nRapTdbF0fK8hjIfnm/U9UA3+VmgqEHe9Ho2lJIBFeAhECu5bTYGi2lh6GJO71IA+7y pZi2eoN1q7WZ+AldXDooC/UdjK0v6ecA8gy4CiePG1adqHn+JOFKtimOsx4liDRAXeza bHBLOADJx3ykVRYK7yhgP05bW2nHku9qA5ZAsChrUB5xyZLZ2/M4NMqba6JUa/22v+PZ tdpQ== X-Gm-Message-State: APt69E382X4Kf4++VVI+0vES7WppxE1ZUH+C6upORgO7Bl7r2HQz06ni owXxBr3CmYfdJ8o8uEcMdSSXog== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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=