dm raid: add discard support for RAID levels 1 and 10
authorHeinz Mauelshagen <heinzm@redhat.com>
Wed, 24 Sep 2014 15:47:18 +0000 (17:47 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 6 Oct 2014 00:03:36 +0000 (20:03 -0400)
Discard support is not enabled for RAID levels 4, 5, and 6 at this time
due to concerns about unreliable discard_zeroes_data support on some
hardware.  Otherwise, discards could cause stripe data corruption
(classic example of bad apples spoiling the bunch).

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>

No differences found