]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit995c518e80746954a209d812bf4f1a8dde90f7b5
treeaa19a10d7e0bbea56455a81fc5e47bbe60f9b05d
parentba8be6d0b40c1d384269378d235abb31ad5a2d08
dm raid: add discard support for RAID levels 1 and 10

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>
drivers/md/dm-raid.c