• Shaohua Li's avatar
    raid5: avoid finding "discard" stripe · d47648fc
    Shaohua Li authored
    SCSI discard will damage discard stripe bio setting, eg, some fields are
    changed. If the stripe is reused very soon, we have wrong bios setting. We
    remove discard stripe from hash list, so next time the strip will be fully
    initialized.
    
    Suitable for backport to 3.7+.
    
    Cc: <stable@vger.kernel.org> (3.7+)
    Signed-off-by: default avatarShaohua Li <shli@fusionio.com>
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    d47648fc
raid5.c 190 KB