mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Florian Schmaus <flo@geekplace.eu>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Florian Schmaus <flo@geekplace.eu>,
	linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] bcachefs: Fix rate description, it is per second, not nanosecond
Date: Thu, 19 Dec 2024 09:42:45 +0100	[thread overview]
Message-ID: <20241219084246.220185-1-flo@geekplace.eu> (raw)

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


                 reply	other threads:[~2024-12-19  8:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241219084246.220185-1-flo@geekplace.eu \
    --to=flo@geekplace.eu \
    --cc=kent.overstreet@linux.dev \
    --cc=linux-bcachefs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®