Lines Matching refs:parity
31 * rf_parityscan.c -- misc utilities related to parity verification
53 * walk through the entire arry and write new parity. This works by
55 * new parity. The first is executed, the data is xored together, and
88 /* There isn't any parity. Call it "okay." */
93 * We're in degraded mode. Don't try to verify parity now!
128 printf("Could not correct bad parity\n");
132 printf("Could not verify parity\n");
145 * verify that the parity in a particular stripe is correct. we
146 * validate only the range of parity defined by parityPDA, since this
148 * maps the whole stripe and then range-restrict it to the parity
164 * There isn't any parity. Call it "okay."
240 goto out; /* no way to verify parity if disk is
277 RF_ERRORMSG("Unable to verify parity: can't read the stripe\n");
287 RF_ERRORMSG3("Parity verify error: byte %d of parity is 0x%x should be 0x%x\n",
323 RF_ERRORMSG("Unable to correct parity in VerifyParity: can't write the stripe\n");
340 int parity)
350 if (parity) {
383 * one failure, and verifies that the parity was correctly updated to
387 * the stripe and the parity unit, XOR them together, and verify that
392 * If it's the parity that failed, there's really no validation we can
396 * the new parity.