tcm: Add XDWRITEREAD_10 passthrough support
Subsystems (2)
PATCH 3/3 tcm: Add XDWRITEREAD_10 passthrough support
From: Nicholas Bellinger <[email protected]>
This patch adds the simple check for TCM/pSCSI usage with XDWRITE_READ10 to follow commit ba3d8e3f13 and perform the BIDI-COMMAND passthrough.
Signed-off-by Nicholas A. Bellinger <[email protected]>
--- drivers/target/target_core_transport.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
drivers/target/target_core_transport.c +7 -0
@@ -5566,6 +5566,13 @@ static int transport_generic_cmd_sequencer(transport_get_maps (cmd); cmd->transport_split_cdb = &split_cdb_XX_10; cmd->transport_get_lba = &transport_lba_32; + passthrough = (TRANSPORT (dev)->transport_type == +TRANSPORT_PLUGIN_PHBA_PDEV ); +/* +* Skip the remaining assignments for TCM/PSCSI passthrough +*/ +if (passthrough) +break ;/* * Setup BIDI XOR callback to be run during transport_generic_complete_ok() */
Signature · 1 line
1.5.6.5