From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7F9AC433FE for ; Mon, 21 Nov 2022 22:17:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231428AbiKUWRs (ORCPT ); Mon, 21 Nov 2022 17:17:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231697AbiKUWRn (ORCPT ); Mon, 21 Nov 2022 17:17:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04EFAD2EC for ; Mon, 21 Nov 2022 14:17:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6BD7DB8169C for ; Mon, 21 Nov 2022 22:17:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CB4EC433C1; Mon, 21 Nov 2022 22:17:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1669069056; bh=ac4nYcU0XFOdaGzBXMWfWZnrtUOdzELliB24vf859WE=; h=Date:To:From:Subject:From; b=SaqxawIPLrAciV73fTKOfALHw40HUw2iGPDE0wNdmbKsyEScTGQKGVdS5vKaVEamy LFbaX9RR3BcO6pKKOYE3nR2XtzWZJ3XQU1fNWSdxLaYu/2gzYmk7IMBVPUW+guZUMO 0QypC8ytBllFplAsRAyIg1dYJaILdnBYpmD7Z9tQ= Date: Mon, 21 Nov 2022 14:17:35 -0800 To: mm-commits@vger.kernel.org, clm@meta.com, axboe@kernel.dk, shr@devkernel.io, akpm@linux-foundation.org From: Andrew Morton Subject: + mm-document-sys-class-bdi-bdi-strict_limit-knob.patch added to mm-unstable branch Message-Id: <20221121221736.2CB4EC433C1@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: mm: document /sys/class/bdi//strict_limit knob has been added to the -mm mm-unstable branch. Its filename is mm-document-sys-class-bdi-bdi-strict_limit-knob.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-document-sys-class-bdi-bdi-strict_limit-knob.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Stefan Roesch Subject: mm: document /sys/class/bdi//strict_limit knob Date: Fri, 18 Nov 2022 16:51:58 -0800 This documents the new /sys/class/bdi//strict_limit knob. Link: https://lkml.kernel.org/r/20221119005215.3052436-4-shr@devkernel.io Signed-off-by: Stefan Roesch Cc: Chris Mason Cc: Jens Axboe Signed-off-by: Andrew Morton --- Documentation/ABI/testing/sysfs-class-bdi | 11 +++++++++++ 1 file changed, 11 insertions(+) --- a/Documentation/ABI/testing/sysfs-class-bdi~mm-document-sys-class-bdi-bdi-strict_limit-knob +++ a/Documentation/ABI/testing/sysfs-class-bdi @@ -56,6 +56,17 @@ Description: be trusted to play fair. (read-write) +What: /sys/class/bdi//strict_limit +Date: October 2022 +Contact: Stefan Roesch +Description: + Forces per-BDI checks for the share of given device in the write-back + cache even before the global background dirty limit is reached. This + is useful in situations where the global limit is much higher than + affordable for given relatively slow (or untrusted) device. Turning + strictlimit on has no visible effect if max_ratio is equal to 100%. + + (read-write) What: /sys/class/bdi//stable_pages_required Date: January 2008 Contact: Peter Zijlstra _ Patches currently in -mm which might be from shr@devkernel.io are mm-add-bdi_set_strict_limit-function.patch mm-add-knob-sys-class-bdi-bdi-strict_limit.patch mm-document-sys-class-bdi-bdi-strict_limit-knob.patch mm-use-part-per-1000000-for-bdi-ratios.patch mm-add-bdi_get_max_bytes-function.patch mm-split-off-__bdi_set_max_ratio-function.patch mm-add-bdi_set_max_bytes-function.patch mm-add-knob-sys-class-bdi-bdi-max_bytes.patch mm-document-sys-class-bdi-bdi-max_bytes-knob.patch mm-add-bdi_get_min_bytes-function.patch mm-split-off-__bdi_set_min_ratio-function.patch mm-add-bdi_set_min_bytes-function.patch mm-add-sys-class-bdi-bdi-min_bytes-knob.patch mm-document-sys-class-bdi-bdi-min_bytes-knob.patch mm-add-bdi_set_max_ratio_no_scale-function.patch mm-add-sys-class-bdi-bdi-max_ratio_fine-knob.patch mm-document-sys-class-bdi-bdi-max_ratio_fine-knob.patch mm-add-bdi_set_min_ratio_no_scale-function.patch mm-add-sys-class-bdi-bdi-min_ratio_fine-knob.patch mm-document-sys-class-bdi-bdi-min_ratio_fine-knob.patch