]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
blk-wbt: Cleanup a comment in wb_timer_fn
authorTang Yizhou <yizhou.tang@shopee.com>
Thu, 13 Feb 2025 10:06:11 +0000 (18:06 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 25 Feb 2025 15:43:52 +0000 (08:43 -0700)
The original comment contains a grammatical error. Rewrite it into a more
easily understandable sentence.

Signed-off-by: Tang Yizhou <yizhou.tang@shopee.com>
Link: https://lore.kernel.org/r/20250213100611.209997-3-yizhou.tang@shopee.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c

index 8b73c0c11aecdc2baf945b5c89339783af18539e..f1754d07f7e0e147ed5f8a15bd290f96dac1d46c 100644 (file)
@@ -447,9 +447,9 @@ static void wb_timer_fn(struct blk_stat_callback *cb)
                break;
        case LAT_UNKNOWN_WRITES:
                /*
-                * We started a the center step, but don't have a valid
-                * read/write sample, but we do have writes going on.
-                * Allow step to go negative, to increase write perf.
+                * We don't have a valid read/write sample, but we do have
+                * writes going on. Allow step to go negative, to increase
+                * write performance.
                 */
                scale_up(rwb);
                break;