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

From: Florian Schmaus
Date: Thu Dec 19 2024 - 03:52:47 EST


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@xxxxxxxxxxxx>
---
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