• Shaohua Li's avatar
    md: raid 1 supports TRIM · 2ff8cc2c
    Shaohua Li authored
    This makes md raid 1 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>
    2ff8cc2c
raid1.c 83.2 KB