]> 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)
commitf8144f320f44bf1f9633e5b66490dfab8531e560
treeaa19a10d7e0bbea56455a81fc5e47bbe60f9b05d
parent1efbf368a0239cb66d574163bd31386deaa43a35
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