• NeilBrown's avatar
    dm: raid456 basic support · 9d09e663
    NeilBrown authored
    This patch is the skeleton for the DM target that will be
    the bridge from DM to MD (initially RAID456 and later RAID1).  It
    provides a way to use device-mapper interfaces to the MD RAID456
    drivers.
    
    As with all device-mapper targets, the nominal public interfaces are the
    constructor (CTR) tables and the status outputs (both STATUSTYPE_INFO
    and STATUSTYPE_TABLE).  The CTR table looks like the following:
    
    1: <s> <l> raid \
    2:	<raid_type> <#raid_params> <raid_params> \
    3:	<#raid_devs> <meta_dev1> <dev1> .. <meta_devN> <devN>
    
    Line 1 contains the standard first three arguments to any device-mapper
    target - the start, length, and target type fields.  The target type in
    this case is "raid".
    
    Line 2 contains the arguments that define the particular raid
    type/personality/level, the required arguments for that raid type, and
    any optional arguments.  Possible raid types include: raid4, raid5_la,
    raid5_ls, raid5_rs, raid6_zr, raid6_nr, and raid6_nc.  (again, raid1 is
    planned for the future....
    9d09e663
Makefile 1.5 KB