]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a1ac2b9ad65717ac4479bd8172823ca56ed3f09
treedebd8ebb2fef2687d4548a177505ec30bda95503
parentda6eabd5c43407700224dcb2b2ff82337615a1f8
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