]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
raid6check.c: reduce verbosity
authorPiergiorgio Sartor <piergiorgio.sartor@nexgo.de>
Sat, 1 Feb 2014 16:03:34 +0000 (17:03 +0100)
committerNeilBrown <neilb@suse.de>
Tue, 4 Feb 2014 05:06:46 +0000 (16:06 +1100)
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>
raid6check.c

index 587ac3a8106335fd130ace7a56d74b62e32fb0d0..c5a7917adc3604ba8ad13f74a63c2b02267a3692 100644 (file)
@@ -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);