This patchset aims to fix several problems related to T10-PI support. These patches can be applied on top of Sagi's "[v1] Simlify dif_verify routines and fixup fileio protection information code" patchset. Akinobu Mita (4): target: ensure se_cmd->t_prot_sg is allocated when required target: Abandon odd SG mapping for data transfer memory target: Fix sbc_dif_generate() for WRITE SAME target/file: enable WRITE SAME when protection info is enabled drivers/target/target_core_file.c | 13 +++++---- drivers/target/target_core_sbc.c | 40 ++++++++++++++++++++++++-- drivers/target/target_core_transport.c | 51 ++++++++++++++++++++-------------- include/target/target_core_backend.h | 2 +- include/target/target_core_base.h | 1 + 5 files changed, 78 insertions(+), 29 deletions(-) Cc: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> Cc: Sagi Grimberg <sagig@xxxxxxxxxxxx> Cc: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: "James E.J. Bottomley" <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Cc: target-devel@xxxxxxxxxxxxxxx Cc: linux-scsi@xxxxxxxxxxxxxxx -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html