Go to the documentation of this file. 1 #ifndef TARGET_CORE_ALUA_H
2 #define TARGET_CORE_ALUA_H
9 #define TPGS_NO_ALUA 0x00
10 #define TPGS_IMPLICT_ALUA 0x10
11 #define TPGS_EXPLICT_ALUA 0x20
18 #define ALUA_ACCESS_STATE_ACTIVE_OPTMIZED 0x0
19 #define ALUA_ACCESS_STATE_ACTIVE_NON_OPTIMIZED 0x1
20 #define ALUA_ACCESS_STATE_STANDBY 0x2
21 #define ALUA_ACCESS_STATE_UNAVAILABLE 0x3
22 #define ALUA_ACCESS_STATE_OFFLINE 0xe
23 #define ALUA_ACCESS_STATE_TRANSITION 0xf
30 #define ALUA_STATUS_NONE 0x00
31 #define ALUA_STATUS_ALTERED_BY_EXPLICT_STPG 0x01
32 #define ALUA_STATUS_ALTERED_BY_IMPLICT_ALUA 0x02
37 #define ASCQ_04H_ALUA_STATE_TRANSITION 0x0a
38 #define ASCQ_04H_ALUA_TG_PT_STANDBY 0x0b
39 #define ASCQ_04H_ALUA_TG_PT_UNAVAILABLE 0x0c
40 #define ASCQ_04H_ALUA_OFFLINE 0x12
46 #define ALUA_DEFAULT_NONOP_DELAY_MSECS 100
47 #define ALUA_MAX_NONOP_DELAY_MSECS 10000
52 #define ALUA_DEFAULT_TRANS_DELAY_MSECS 0
53 #define ALUA_MAX_TRANS_DELAY_MSECS 30000
58 #define ALUA_DEFAULT_IMPLICT_TRANS_SECS 0
59 #define ALUA_MAX_IMPLICT_TRANS_SECS 255
64 #define ALUA_METADATA_PATH_LEN 512
68 #define ALUA_SECONDARY_METADATA_WWN_LEN 256
107 const char *,
size_t);
111 const char *,
size_t);
115 const char *,
size_t);
119 const char *,
size_t);
123 const char *,
size_t);
129 const char *,
size_t);
133 const char *,
size_t);