Lines Matching defs:parity
281 * we won't have a page which is half data half parity.
578 * check and repair the parity and write the new results.
732 * called as rmw or parity rebuild is completed. If the plug list has more
962 /* allocate pages for all the stripes in the bio, including parity */
1200 /* Then add the parity stripe */
1732 * which we have data when doing parity scrub.
1774 /* Single failure, rebuild from parity raid5 style */
1826 /* Copy parity block into failed block to start with */
2233 * Allocate the pages for parity first, as P/Q pages will always be
2326 * The following code is used to scrub/replace the parity stripe
2357 * to the end position, so this search can start from the first parity
2373 * We just scrub the parity that we have correct data on the same horizontal,
2462 /* Map the parity stripe just once */
2467 void *parity;
2486 /* Check scrubbing parity and repair it */
2488 parity = kmap_local_page(sector->page) + sector->pgoff;
2489 if (memcmp(parity, pointers[rbio->scrubp], sectorsize) != 0)
2490 memcpy(parity, pointers[rbio->scrubp], sectorsize);
2494 kunmap_local(parity);
2528 * Replace is running and our parity stripe needs to be duplicated to
2607 * Because we can not use a scrubbing parity to repair the
2616 * If all data is good, only parity is correctly, just repair
2617 * the parity, no need to recover data stripes.
2624 * corrupted parity on RAID6, if the corrupted parity is
2625 * scrubbing parity, luckily, use the other one to repair the