Skip to contentSkip to conversation

MD: possible typo

PATCH New Jonathan Brassow 1 participant 1 message Jun 7, 2011 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MD: possible typo

Make message a bit clearer by s/blocks/k/

I chose 'k' vs 'kiB' or 'kB' because it is what is used earlier in the message. 'k' may be a bit ambigous, but I think it's better than "blocks" which normally means 512, but means 1024 in MD.

drivers/md/md.c +2 -2
Index: linux-2.6/drivers/md/md.c
===================================================================
@@ -6866,8 +6866,8 @@ void md_do_sync(mddev_t *mddev)
 	 * Tune reconstruction:
 	 */
 	window = 32*(PAGE_SIZE/512);
-	printk(KERN_INFO "md: using %dk window, over a total of %llu blocks.\n",
-		window/2,(unsigned long long) max_sectors/2);
+	printk(KERN_INFO "md: using %dk window, over a total of %lluk.\n",
+		window/2, (unsigned long long)max_sectors/2);
 
 	atomic_set(&mddev->recovery_active, 0);
 	last_check = 0;