diff options
author | Hannes Reinecke <hare@suse.de> | 2013-12-17 03:18:45 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-12-17 13:34:49 -0500 |
commit | dfbce75ac8b4ed5dc51f8f144ebb274db940388d (patch) | |
tree | 84a804689e3316f2a5df0737d0680cd5bed14325 /include/target | |
parent | 1e0b9403bd2e77006ae8dcdf279c0f30c7efc258 (diff) |
target_core_alua: store old and pending ALUA state
During state transition we should be storing both the original
and the pending state.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index bf9a4d6c26da..2c723cf727f8 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -284,6 +284,8 @@ struct t10_alua_tg_pt_gp { | |||
284 | u16 tg_pt_gp_id; | 284 | u16 tg_pt_gp_id; |
285 | int tg_pt_gp_valid_id; | 285 | int tg_pt_gp_valid_id; |
286 | int tg_pt_gp_alua_supported_states; | 286 | int tg_pt_gp_alua_supported_states; |
287 | int tg_pt_gp_alua_pending_state; | ||
288 | int tg_pt_gp_alua_previous_state; | ||
287 | int tg_pt_gp_alua_access_status; | 289 | int tg_pt_gp_alua_access_status; |
288 | int tg_pt_gp_alua_access_type; | 290 | int tg_pt_gp_alua_access_type; |
289 | int tg_pt_gp_nonop_delay_msecs; | 291 | int tg_pt_gp_nonop_delay_msecs; |