[SCSI] isci: T10 DIF support
authorDave Jiang <dave.jiang@intel.com>
Fri, 10 Feb 2012 09:18:34 +0000 (01:18 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 15:14:24 +0000 (09:14 -0600)
commit3d2d752549150c2706f6bf8d8a2cceb89ef9f42e
treeb50821eef1f21902c5d22263001e202b65c3d680
parenta6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b
[SCSI] isci: T10 DIF support

This allows the controller to do WRITE_INSERT and READ_STRIP for SAS
disks that support protection information. SAS disks must be formatted
with protection information to use this feature via sg_format.

  sg3_utils-1.32 -- sg_format version 1.19 20110730
  sg_format usage:
  sg_format --format --verbose --pinfo /dev/sda

Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/init.c
drivers/scsi/isci/request.c
drivers/scsi/isci/scu_task_context.h