dm: add integrity support
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 8 Apr 2009 23:27:12 +0000 (00:27 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 8 Apr 2009 23:27:12 +0000 (00:27 +0100)
commit9c47008d13add50ec4597a8b9eee200c515282c8
treedebd8ebb2fef2687d4548a177505ec30bda95503
parent577c9c456f0e1371cbade38eaf91ae8e8a308555
dm: add integrity support

This patch provides support for data integrity passthrough in the device
mapper.

 - If one or more component devices support integrity an integrity
   profile is preallocated for the DM device.

 - If all component devices have compatible profiles the DM device is
   flagged as capable.

 - Handle integrity metadata when splitting and cloning bios.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c
drivers/md/dm-table.c
drivers/md/dm.c