summaryrefslogtreecommitdiffstats
path: root/raid6check.c
diff options
context:
space:
mode:
authorPiergiorgio Sartor <piergiorgio.sartor@nexgo.de>2014-02-01 17:03:34 +0100
committerNeilBrown <neilb@suse.de>2014-02-04 06:06:46 +0100
commit15c1bfb34ca69b0aa76843f63af355ee96a27fbe (patch)
tree35f5976746d90116d92b0b79ad47932646196653 /raid6check.c
parentraid6check.c add page size check and repair (diff)
downloadmdadm-15c1bfb34ca69b0aa76843f63af355ee96a27fbe.tar.xz
mdadm-15c1bfb34ca69b0aa76843f63af355ee96a27fbe.zip
raid6check.c: reduce verbosity
This patch removes some printouts, which are not really useful here. These could be re-added later, in case a verbosity parameter will be provided. Signed off: piergiorgio.sartor@nexgo.de Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'raid6check.c')
-rw-r--r--raid6check.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/raid6check.c b/raid6check.c
index 587ac3a8..c5a7917a 100644
--- a/raid6check.c
+++ b/raid6check.c
@@ -188,8 +188,6 @@ int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets,
while (length > 0) {
int disk[chunk_size >> CHECK_PAGE_BITS];
- printf("pos --> %llu\n", start);
-
err = lock_stripe(info, start, chunk_size, data_disks, sig);
if(err != 0) {
if (err != 2)
@@ -221,7 +219,6 @@ int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets,
int disk = geo_map(i, start, raid_disks, level, layout);
blocks[i] = stripes[disk];
block_index_for_slot[disk] = i;
- printf("%d->%d\n", i, disk);
}
qsyndrome(p, q, (uint8_t**)blocks, data_disks, chunk_size);