Skip to contentSkip to conversation

bcachefs: Fix rate description, it is per second, not nanosecond

PATCH New Florian Schmaus 1 participant 1 message Dec 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcachefs: Fix rate description, it is per second, not nanosecond

This was fixed in bcache (not bcachefs) with commit e41166c5c44e ("bcache: writeback rate shouldn't artifically clamp"), but the change did not make it into bcachefs.

---
 fs/bcachefs/util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/bcachefs/util.h +1 -1
index fb02c1c36004..dc6ed422a027 100644
@@ -232,7 +232,7 @@ struct bch_ratelimit {
 	u64			next;
 
 	/*
-	 * Rate at which we want to do work, in units per nanosecond
+	 * Rate at which we want to do work, in units per second
 	 * The units here correspond to the units passed to
 	 * bch2_ratelimit_increment()
 	 */
Signature · 1 line
2.45.2