From 15c1bfb34ca69b0aa76843f63af355ee96a27fbe Mon Sep 17 00:00:00 2001 From: Piergiorgio Sartor Date: Sat, 1 Feb 2014 17:03:34 +0100 Subject: [PATCH] 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 --- raid6check.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/raid6check.c b/raid6check.c index 587ac3a..c5a7917 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);