]> Git Repo - linux.git/commit
scsi_cmnd: Introduce scsi_transfer_length helper
authorSagi Grimberg <[email protected]>
Wed, 11 Jun 2014 09:09:57 +0000 (12:09 +0300)
committerNicholas Bellinger <[email protected]>
Wed, 11 Jun 2014 20:06:42 +0000 (13:06 -0700)
commit8846bab180fa2bcfe02d4ba5288fbaba12c8f4f3
tree9f5535d5685289e38ebce9f4fbea295cfbe01552
parent2426bd456a61407388b6e61fc5f98dbcbebc50e2
scsi_cmnd: Introduce scsi_transfer_length helper

In case protection information exists on the wire
scsi transports should include it in the transfer
byte count (even if protection information does not
exist in the host memory space). This helper will
compute the total transfer length from the scsi
command data length and protection attributes.

Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Cc: [email protected] # 3.15+
Signed-off-by: Nicholas Bellinger <[email protected]>
include/scsi/scsi_cmnd.h
This page took 0.056772 seconds and 4 git commands to generate.