raid5: avoid finding "discard" stripe
authorShaohua Li <shli@kernel.org>
Sat, 19 Oct 2013 06:51:42 +0000 (14:51 +0800)
committerNeilBrown <neilb@suse.de>
Thu, 24 Oct 2013 02:00:24 +0000 (13:00 +1100)
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: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found