diff options
author | Piergiorgio Sartor <piergiorgio.sartor@nexgo.de> | 2014-02-05 20:18:45 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-02-05 23:28:24 +0100 |
commit | 237e40cef21995a865c465c6c530ecaf958d3aec (patch) | |
tree | f8b148cd63666bd5560090739c0dd57adcacabe5 /raid6check.c | |
parent | raid6check.c: add O_SYNC to open (diff) | |
download | mdadm-237e40cef21995a865c465c6c530ecaf958d3aec.tar.xz mdadm-237e40cef21995a865c465c6c530ecaf958d3aec.zip |
raid6check.c: reduce verbosity
This patch will remove some legacy code.
It is part of the verbosity "cleanup".
In any case, if information about the P
and Q parity mismatches is required, it
should go inside the code handling page
size blocks, not full stripe size.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'raid6check.c')
-rw-r--r-- | raid6check.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/raid6check.c b/raid6check.c index 22b74cc1..b6cd9b4a 100644 --- a/raid6check.c +++ b/raid6check.c @@ -228,15 +228,7 @@ int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets, block_index_for_slot[diskP] = data_disks; blocks[data_disks+1] = stripes[diskQ]; block_index_for_slot[diskQ] = data_disks+1; -/* Do we really need the code below? */ -#if 0 - if (memcmp(p, stripes[diskP], chunk_size) != 0) { - printf("P(%d) wrong at %llu\n", diskP, start); - } - if (memcmp(q, stripes[diskQ], chunk_size) != 0) { - printf("Q(%d) wrong at %llu\n", diskQ, start); - } -#endif + raid6_collect(chunk_size, p, q, stripes[diskP], stripes[diskQ], results); raid6_stats(disk, results, raid_disks, chunk_size); |