[PATCH 0/2] Include protection information in iscsi header

Sagi Grimberg
2014-06-01T16:19:39Z

At the SCSI transport level, there is no distinction between
user data and protection information. Thus, iscsi header field
"expected data transfer length" should include protection
information.

This set modifies both the iscsi initiator (patch #1), and
target (patch #2) to expect data length which includes
protection information.

Although these patches involve 3 subsystems with different
maintainers (scsi, iser, target) I would prefer seeing these
patches included together.

Sagi Grimberg (2):
libiscsi, iser: Adjust data_length to include protection information
TARGET/sbc,loopback: Adjust command data length in case pi exists on
the wire

drivers/infiniband/ulp/iser/iser_initiator.c | 34 +++++++-----------------
drivers/scsi/libiscsi.c | 35 +++++++++++++++++++++++++-
drivers/target/loopback/tcm_loop.c | 35 +++++++++++++++++++++++---
drivers/target/target_core_sbc.c | 15 +++++++++-
include/scsi/libiscsi.h | 19 ++++++++++++++
5 files changed, 107 insertions(+), 31 deletions(-)