Commit 7da88b11 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Pavankumar Kondeti
Browse files

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().

Change-Id: Ic654c46de72b263aea8aeb5e8a76136f47dd775e
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent ca5ace24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment