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)
commit5fc2ffeabb9ee0fc0e71ff16b49f34f0ed3d05b4
tree338c273e43209ebf5de5aef13186ce0666e7e06f
parent84c89557a302e18414a011cc52b1abd034860743
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