• Shaohua Li's avatar
    md: raid 10 supports TRIM · 532a2a3f
    Shaohua Li authored
    
    This makes md raid 10 support TRIM.
    
    If one disk supports discard and another not, or one has
    discard_zero_data and another not, there could be inconsistent between
    data from such disks. But this should not matter, discarded data is
    useless. This will add extra copy in rebuild though.
    Signed-off-by: default avatarShaohua Li <shli@fusionio.com>
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    532a2a3f
raid10.c 126 KB