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>
This commit is contained in:
parent
3b9c96032c
commit
15c1bfb34c
|
@ -188,8 +188,6 @@ int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets,
|
||||||
while (length > 0) {
|
while (length > 0) {
|
||||||
int disk[chunk_size >> CHECK_PAGE_BITS];
|
int disk[chunk_size >> CHECK_PAGE_BITS];
|
||||||
|
|
||||||
printf("pos --> %llu\n", start);
|
|
||||||
|
|
||||||
err = lock_stripe(info, start, chunk_size, data_disks, sig);
|
err = lock_stripe(info, start, chunk_size, data_disks, sig);
|
||||||
if(err != 0) {
|
if(err != 0) {
|
||||||
if (err != 2)
|
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);
|
int disk = geo_map(i, start, raid_disks, level, layout);
|
||||||
blocks[i] = stripes[disk];
|
blocks[i] = stripes[disk];
|
||||||
block_index_for_slot[disk] = i;
|
block_index_for_slot[disk] = i;
|
||||||
printf("%d->%d\n", i, disk);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
qsyndrome(p, q, (uint8_t**)blocks, data_disks, chunk_size);
|
qsyndrome(p, q, (uint8_t**)blocks, data_disks, chunk_size);
|
||||||
|
|
Loading…
Reference in New Issue