Lines Matching defs:parity

114 	 * set if we're doing a parity rebuild
116 * differently from a parity rebuild as part of
582 * check and repair the parity and write the new results.
754 * called as rmw or parity rebuild is completed. If the plug list has more
1046 /* allocate pages for all the stripes in the bio, including parity */
1141 * trigger parity reconstruction. The rmw will be finished
1195 * This will calculate the parity and then send down any
1224 * recalculate the parity and write the new results.
1259 /* then add the parity stripe */
1474 * stripe bios we've read from the disk so we can recalculate the parity of the
1478 * may trigger parity reconstruction if we had any errors along the way
1500 * from parity first
1607 * enough pages to hold the parity, and sending it all down quickly.
1628 * rbio before calculating new parity
1642 * recalculate parity, enough new bios come into create
1832 * all parity reconstruction happens here. We've read in everything
1866 * which we have data when doing parity scrub.
1893 * single failure, rebuild from parity raid5
1950 /* Copy parity block into failed block to start with */
2046 * reconstruct the parity.
2073 * the parity. endio handlers trigger final reconstruction
2077 * parity construction required to finish a rmw cycle.
2263 * The following code is used to scrub/replace the parity stripe
2294 * to the end position, so this search can start from the first parity
2319 /* Used for both parity scrub and missing. */
2335 * We just scrub the parity that we have correct data on the same horizontal,
2419 /* Map the parity stripe just once */
2424 void *parity;
2441 /* Check scrubbing parity and repair it */
2443 parity = kmap(p);
2444 if (memcmp(parity, pointers[rbio->scrubp], PAGE_SIZE))
2445 copy_page(parity, pointers[rbio->scrubp]);
2495 /* Every parity is right */
2526 * While we're doing the parity check and repair, we could have errors
2528 * not able to read the page it'll trigger parity reconstruction. The
2529 * parity scrub will be finished after we've reconstructed the failed
2551 * Because we can not use a scrubbing parity to repair
2559 * If all data is good, only parity is correctly, just
2560 * repair the parity.
2569 * corrupted parity on RAID6, if the corrupted parity
2570 * is scrubbing parity, luckily, use the other one to repair
2588 * stripe bios we've read from the disk so we can recalculate the parity of the
2592 * may trigger parity reconstruction if we had any errors along the way
2611 * from parity first