aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_rd.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-01-10 08:16:59 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2012-04-14 20:40:03 -0400
commitb0d7994660af1601cc26ef7ab748569fdb9c253b (patch)
tree49740bdc2f2284762b1d367295b238c5f3bc931d /drivers/target/target_core_rd.c
parent58d926187758f76647d68e2f51ce44e6ace81873 (diff)
target: add unknown size flag to target_submit_cmd()
The UASP protocol does not inform the target device upfront how much data it should expect so we have to learn in from the CDB. So in order to handle this case, add a TARGET_SCF_UNKNOWN_SIZE to target_submit_cmd() and perform an explictly assignment for se_cmd->data_length from the extracted CDB size in transport_generic_cmd_sequencer(). Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_rd.c')
0 files changed, 0 insertions, 0 deletions