]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 25 Jun 2008 15:22:42 +0000 (11:22 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:32 +0000 (08:22 -0500)
commit0569d6092b8b4e4cb673bad871d5c47a418158d0
tree4fae88f3893ce57f2f85280d16330fc61a943d44
parent54e11f394908be5c6796f9ca87212a92c2ca01d7
[SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC

The SCSI Block Protocol uses this 16-bit CRC to verify the integrity
of each data sector.  crc_t10dif() is used by sd_dif.c when performing
I/O to or from disks formatted with protection information.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
include/linux/crc-t10dif.h [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/crc-t10dif.c [new file with mode: 0644]