diff options
author | Hannes Reinecke <hare@suse.de> | 2015-06-11 10:01:27 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-06-22 23:55:27 -0700 |
commit | 3dd348fcaa407181585fcadc04b0cac6e31f9be0 (patch) | |
tree | 35b3f528414cc9986df44aecf70a0d28ebb4d35a /drivers/target/target_core_ua.h | |
parent | 1adff1b3a7f75a1c255b7fcab5676edf29d4a5d8 (diff) | |
download | op-kernel-dev-3dd348fcaa407181585fcadc04b0cac6e31f9be0.zip op-kernel-dev-3dd348fcaa407181585fcadc04b0cac6e31f9be0.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/target/target_core_ua.h b/drivers/target/target_core_ua.h index 96460bf..59278d6 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 *); |