]> git.baikalelectronics.ru Git - kernel.git/commit
dm raid1: support discard
authorMike Snitzer <snitzer@redhat.com>
Thu, 13 Jan 2011 19:59:48 +0000 (19:59 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 13 Jan 2011 19:59:48 +0000 (19:59 +0000)
commitb29254dd721f4f829738205adf26889698de3c23
tree338c273e43209ebf5de5aef13186ce0666e7e06f
parent2af346ae02f10d5effe8d6ad886019fc98301909
dm raid1: support discard

Enable discard support in the DM mirror target.
Also change an existing use of 'bvec' to 'addr' in the union.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid1.c