Searched refs:ALGORITHM_PARITY_N (Results 1 – 4 of 4) sorted by relevance
733 #define ALGORITHM_PARITY_N 5 /* P or P,Q are final devices. */ macro761 #define ALGORITHM_PARITY_N_6 ALGORITHM_PARITY_N
299 {"raid5_n", "raid5 (dedicated last parity disk)", 1, 2, 5, ALGORITHM_PARITY_N},1744 mddev->new_layout == ALGORITHM_PARITY_N && in rs_check_takeover()1816 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()1823 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()1828 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()1838 ((mddev->layout == ALGORITHM_PARITY_N && mddev->new_layout == ALGORITHM_PARITY_N) || in rs_check_takeover()1846 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()1851 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()1856 ((mddev->layout == ALGORITHM_PARITY_N && mddev->new_layout == ALGORITHM_PARITY_N) || in rs_check_takeover()
785 if (mddev->layout == ALGORITHM_PARITY_N) in raid0_takeover()789 mdname(mddev), ALGORITHM_PARITY_N); in raid0_takeover()
2977 case ALGORITHM_PARITY_N: in raid5_compute_sector()3021 case ALGORITHM_PARITY_N: in raid5_compute_sector()3155 case ALGORITHM_PARITY_N: in raid5_compute_blocknr()3188 case ALGORITHM_PARITY_N: in raid5_compute_blocknr()7422 case ALGORITHM_PARITY_N: in only_parity()8405 mddev->new_layout = ALGORITHM_PARITY_N; in raid45_takeover_raid0()8467 case ALGORITHM_PARITY_N: in raid5_takeover_raid6()8468 new_layout = ALGORITHM_PARITY_N; in raid5_takeover_raid6()8553 mddev->new_layout = ALGORITHM_PARITY_N; in raid5_takeover()8572 mddev->layout == ALGORITHM_PARITY_N) { in raid4_takeover()[all …]