• NeilBrown's avatar
    md/raid5: Add support for new layouts for raid5 and raid6. · 99c0fb5f
    NeilBrown authored
    DDF uses different layouts for P and Q blocks than current md/raid6
    so add those that are missing.
    Also add support for RAID6 layouts that are identical to various
    raid5 layouts with the simple addition of one device to hold all of
    the 'Q' blocks.
    Finally add 'raid5' layouts to match raid4.
    These last to will allow online level conversion.
    
    Note that this does not provide correct support for DDF/raid6 yet
    as the order in which data blocks are summed to produce the Q block
    is significant and different between current md code and DDF
    requirements.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    99c0fb5f
raid5.c 136 KB