Skip to contentSkip to conversation

mm-document-sys-class-bdi-bdi-max_bytes-knob.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Dec 1, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: document /sys/class/bdi/<bdi>/max_bytes knob
has been removed from the -mm tree. Its filename was
mm-document-sys-class-bdi-bdi-max_bytes-knob.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Stefan Roesch <[email protected]>
Subject: mm: document /sys/class/bdi/<bdi>/max_bytes knob
Date: Fri, 18 Nov 2022 16:52:04 -0800

This documents the new /sys/class/bdi/<bdi>/max_bytes knob.

---

 Documentation/ABI/testing/sysfs-class-bdi |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
Documentation/ABI/testing/sysfs-class-bdi renamed from Documentation/ABI/testing/sysfs-class-bdi~mm-document-sys-class-bdi-bdi-max_bytes-knob +14 -0
@@ -56,6 +56,20 @@ Description:
 	be trusted to play fair.
 
 	(read-write)
+
+What:		/sys/class/bdi/<bdi>/max_bytes
+Date:		October 2022
+Contact:	Stefan Roesch <[email protected]>
+Description:
+	Allows limiting a particular device to use not more than the
+	given 'max_bytes' of the write-back cache.  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, a FUSE mount which cannot be
+	trusted to play fair, or a nbd device.
+
+	(read-write)
+
 What:		/sys/class/bdi/<bdi>/strict_limit
 Date:		October 2022
 Contact:	Stefan Roesch <[email protected]>

_

Patches currently in -mm which might be from [email protected] are