[PATCH] raid6check.c: fix position printout

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

 



This patch make a bit more clear
the position, in the disk, where
an error is found.

Signed off: piergiorgio.sartor@xxxxxxxx
diff -uNrp a/raid6check.c b/raid6check.c
--- a/raid6check.c	2014-02-01 16:56:14.123771170 +0100
+++ b/raid6check.c	2014-02-01 17:36:05.685667361 +0100
@@ -237,11 +237,11 @@ int check_stripes(struct mdinfo *info, i
 				disk[j] = geo_map(disk[j], start, raid_disks, level, layout);
 			}
 			if(disk[j] >= 0) {
-				printf("Error detected at %llu, page %d: possible failed disk slot: %d --> %s\n",
+				printf("Error detected at stripe %llu, page %d: possible failed disk slot: %d --> %s\n",
 					start, j, disk[j], name[disk[j]]);
 			}
 			if(disk[j] == -65535) {
-				printf("Error detected at %llu, page %d: disk slot unknown\n", start, j);
+				printf("Error detected at stripe %llu, page %d: disk slot unknown\n", start, j);
 			}
 		}
 

-- 

piergiorgio
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux