• S
    md: raid 1 supports TRIM · 2ff8cc2c
    Shaohua Li 提交于
    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: NShaohua Li <shli@fusionio.com>
    Signed-off-by: NNeilBrown <neilb@suse.de>
    2ff8cc2c
raid1.c 83.2 KB