From patchwork Sat Nov 19 00:52:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roesch X-Patchwork-Id: 13049530 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5025C433FE for ; Sat, 19 Nov 2022 02:27:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 257998E0002; Fri, 18 Nov 2022 21:27:47 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 205578E0001; Fri, 18 Nov 2022 21:27:47 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0169C6B0078; Fri, 18 Nov 2022 21:27:46 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E66C36B0073 for ; Fri, 18 Nov 2022 21:27:46 -0500 (EST) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BE671140334 for ; Sat, 19 Nov 2022 02:27:46 +0000 (UTC) X-FDA: 80148606132.19.6D427C2 Received: from 66-220-144-178.mail-mxout.facebook.com (66-220-144-178.mail-mxout.facebook.com [66.220.144.178]) by imf18.hostedemail.com (Postfix) with ESMTP id 7187C1C000A for ; Sat, 19 Nov 2022 02:27:46 +0000 (UTC) Received: by dev0134.prn3.facebook.com (Postfix, from userid 425415) id 918AE19380EB; Fri, 18 Nov 2022 16:52:18 -0800 (PST) From: Stefan Roesch To: kernel-team@fb.com, linux-block@vger.kernel.org, linux-mm@kvack.org Cc: shr@devkernel.io, axboe@kernel.dk, clm@meta.com, akpm@linux-foundation.org Subject: [RFC PATCH v4 17/20] mm: document /sys/class/bdi//max_ratio_fine knob Date: Fri, 18 Nov 2022 16:52:12 -0800 Message-Id: <20221119005215.3052436-18-shr@devkernel.io> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221119005215.3052436-1-shr@devkernel.io> References: <20221119005215.3052436-1-shr@devkernel.io> MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668824866; a=rsa-sha256; cv=none; b=CjsKhj5BWKJ8WGvPfvSpl+Fr5xQ7H6efFU8/W8WbFQOeJgVFDcFTIwPPXjP47BTdmUy0w4 tcRxXROePrEaOrTXfYXQRitkGTTGcIBvzI4/MdozKPVZOkrSjjccCTS3WSKJnV0idI1PNF cGq5k+FoNuDcYMmHtzmykB2IxImV3fI= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=none; dmarc=none; spf=neutral (imf18.hostedemail.com: 66.220.144.178 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1668824866; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XD49U+Fc5iz9FZUWKu+vfryFQkTDrxVvEeOUEAAsIuU=; b=kGlniDJsMzovqnUc+flMMMmega1+SvEqqgMU4MdY02fThTUylLu04eWSKcedQNXy38OKVu LdM+hapWj1qC2Thvtb272XcaIQG+XM1GB76j/D0kU9u/CxBjkQKITmxNaDvvt/+5tPPmaN QASS8Hrcal4KvTErVE/4GZhDUc7XNjc= Authentication-Results: imf18.hostedemail.com; dkim=none; dmarc=none; spf=neutral (imf18.hostedemail.com: 66.220.144.178 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io X-Rspam-User: X-Stat-Signature: dumewen98fghkbimy6ddzzfwxdjdh7mr X-Rspamd-Queue-Id: 7187C1C000A X-Rspamd-Server: rspam11 X-HE-Tag: 1668824866-828526 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: This documents the new /sys/class/bdi//max_ratio_fine knob. Signed-off-by: Stefan Roesch --- Documentation/ABI/testing/sysfs-class-bdi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-bdi b/Documentation/ABI/testing/sysfs-class-bdi index bec996e29565..34d2e5489c74 100644 --- a/Documentation/ABI/testing/sysfs-class-bdi +++ b/Documentation/ABI/testing/sysfs-class-bdi @@ -57,6 +57,19 @@ Description: (read-write) +What: /sys/class/bdi//max_ratio_fine +Date: November 2022 +Contact: Stefan Roesch +Description: + Allows limiting a particular device to use not more than the + given value of the write-back cache. The value is given as part + of 1 million. This is useful in situations where we want to avoid + one device taking all or most of the write-back cache. For example + in case of an NFS mount that is prone to get stuck, or a FUSE mount + which cannot be trusted to play fair. + + (read-write) + What: /sys/class/bdi//min_bytes Date: October 2022 Contact: Stefan Roesch