summaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi/iscsi_target_util.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2015-02-09 18:07:25 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-02-12 11:24:29 -0800
commite4f4e8016e6823475291eb0da7cc95d0fada2237 (patch)
treed9e1bb4da2c4d3ce8f80d055055482f89d490741 /drivers/target/iscsi/iscsi_target_util.h
parent11378cdbb69521530f69072a987f7f1280747c1a (diff)
downloadblackbird-obmc-linux-e4f4e8016e6823475291eb0da7cc95d0fada2237.tar.gz
blackbird-obmc-linux-e4f4e8016e6823475291eb0da7cc95d0fada2237.zip
iscsi/iser-target: Support multi-sequence sendtargets text response
In case sendtargets response is larger than initiator MRDSL, we send a partial sendtargets response (setting F=0, C=1, TTT!=0xffffffff), accept a consecutive empty text message and send the rest of the payload. In case we are done, we set F=1, C=0, TTT=0xffffffff. We do that by storing the sendtargets response bytes done under the session. This patch also makes iscsit_find_cmd_from_itt public for isert. (Re-add cmd->maxcmdsn_inc and clear in iscsit_build_text_rsp - nab) Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_util.h')
-rw-r--r--drivers/target/iscsi/iscsi_target_util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target_util.h b/drivers/target/iscsi/iscsi_target_util.h
index a68508c4fec8..1ab754a671ff 100644
--- a/drivers/target/iscsi/iscsi_target_util.h
+++ b/drivers/target/iscsi/iscsi_target_util.h
@@ -16,7 +16,6 @@ extern struct iscsi_r2t *iscsit_get_holder_for_r2tsn(struct iscsi_cmd *, u32);
extern int iscsit_sequence_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd,
unsigned char * ,__be32 cmdsn);
extern int iscsit_check_unsolicited_dataout(struct iscsi_cmd *, unsigned char *);
-extern struct iscsi_cmd *iscsit_find_cmd_from_itt(struct iscsi_conn *, itt_t);
extern struct iscsi_cmd *iscsit_find_cmd_from_itt_or_dump(struct iscsi_conn *,
itt_t, u32);
extern struct iscsi_cmd *iscsit_find_cmd_from_ttt(struct iscsi_conn *, u32);
OpenPOWER on IntegriCloud