summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_ua.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-06-11 10:01:27 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-06-22 23:55:27 -0700
commit3dd348fcaa407181585fcadc04b0cac6e31f9be0 (patch)
tree35b3f528414cc9986df44aecf70a0d28ebb4d35a /drivers/target/target_core_ua.h
parent1adff1b3a7f75a1c255b7fcab5676edf29d4a5d8 (diff)
downloadtalos-op-linux-3dd348fcaa407181585fcadc04b0cac6e31f9be0.tar.gz
talos-op-linux-3dd348fcaa407181585fcadc04b0cac6e31f9be0.zip
target: Send UA on ALUA target port group change
When the ALUA target port group changes an INQUIRY DATA CHANGE UA needs to be sent. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_ua.h')
-rw-r--r--drivers/target/target_core_ua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/target/target_core_ua.h b/drivers/target/target_core_ua.h
index 96460bff490f..59278d662e66 100644
--- a/drivers/target/target_core_ua.h
+++ b/drivers/target/target_core_ua.h
@@ -25,6 +25,8 @@
#define ASCQ_2CH_PREVIOUS_RESERVATION_CONFLICT_STATUS 0x09
+#define ASCQ_3FH_INQUIRY_DATA_HAS_CHANGED 0x03
+
extern struct kmem_cache *se_ua_cache;
extern sense_reason_t target_scsi3_ua_check(struct se_cmd *);
OpenPOWER on IntegriCloud