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

Florian Schmaus posted 1 patch 12 months ago
fs/bcachefs/util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] bcachefs: Fix rate description, it is per second, not nanosecond
Posted by Florian Schmaus 12 months ago
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.

Signed-off-by: Florian Schmaus <flo@geekplace.eu>
---
 fs/bcachefs/util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h
index fb02c1c36004..dc6ed422a027 100644
--- a/fs/bcachefs/util.h
+++ b/fs/bcachefs/util.h
@@ -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()
 	 */
-- 
2.45.2