lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20241219084246.220185-1-flo@geekplace.eu>
Date: Thu, 19 Dec 2024 09:42:45 +0100
From: Florian Schmaus <flo@...kplace.eu>
To: Kent Overstreet <kent.overstreet@...ux.dev>
Cc: Florian Schmaus <flo@...kplace.eu>,
	linux-bcachefs@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH] 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.

Signed-off-by: Florian Schmaus <flo@...kplace.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ