Re: [PATCH v2 2/2] blk-wbt: Cleanup a comment in wb_timer_fn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

在 2025/02/13 18:06, Tang Yizhou 写道:
From: Tang Yizhou <yizhou.tang@xxxxxxxxxx>

The original comment contains a grammatical error. Rewrite it into a more
easily understandable sentence.

Signed-off-by: Tang Yizhou <yizhou.tang@xxxxxxxxxx>
---
  block/blk-wbt.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)


Personally, I don't think this patch is necessary, people can still
understand with this error. I'm not expecting a seperate patch :(

Thanks,
Kuai

diff --git a/block/blk-wbt.c b/block/blk-wbt.c
index 8b73c0c11aec..f1754d07f7e0 100644
--- a/block/blk-wbt.c
+++ b/block/blk-wbt.c
@@ -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;






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux