diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-19 22:45:42 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-07-03 19:43:24 -0700 |
commit | 6665889c843c774cd35309cf995ba0d302fa6dba (patch) | |
tree | ad5aeffb0ab8cbacdcd0dc50ed70fd9cad28d825 /drivers/target/iscsi/iscsi_target_core.h | |
parent | 9864ca9d27f75d2716d09dd02b3d62d241194576 (diff) | |
download | op-kernel-dev-6665889c843c774cd35309cf995ba0d302fa6dba.zip op-kernel-dev-6665889c843c774cd35309cf995ba0d302fa6dba.tar.gz |
iscsi-target: Add IFC_SENDTARGETS_SINGLE support
This patch changes ISCSI_OP_TEXT handling of SendTargets=[iqn.,eui.]
payloads to return explicit discovery information.
It adds checks to iscsit_process_text_cmd() and adds the special single
$TARGETNAME discovery case in iscsit_build_sendtargets_response() code.
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_core.h')
-rw-r--r-- | drivers/target/iscsi/iscsi_target_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/target/iscsi/iscsi_target_core.h b/drivers/target/iscsi/iscsi_target_core.h index ad46e73..3436a2c 100644 --- a/drivers/target/iscsi/iscsi_target_core.h +++ b/drivers/target/iscsi/iscsi_target_core.h @@ -134,6 +134,7 @@ enum cmd_flags_table { ICF_OOO_CMDSN = 0x00000080, ICF_REJECT_FAIL_CONN = 0x00000100, IFC_SENDTARGETS_ALL = 0x00000200, + IFC_SENDTARGETS_SINGLE = 0x00000400, }; /* struct iscsi_cmd->i_state */ |