aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-12-17 03:18:46 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2013-12-17 14:01:25 -0500
commit9c6e164c8c28c1f9e24441674f8b8d81551c906b (patch)
treeaf9ebd54ee333afbc8aefa7ce5e894c65ed0b345 /include/target
parentdfbce75ac8b4ed5dc51f8f144ebb274db940388d (diff)
target_core_alua: Use workqueue for ALUA transitioning
Use a workqueue for processing ALUA state transitions; this allows us to process implicit delay properly. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 2c723cf727f8..e653110acb61 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -302,6 +302,10 @@ struct t10_alua_tg_pt_gp {
302 struct config_group tg_pt_gp_group; 302 struct config_group tg_pt_gp_group;
303 struct list_head tg_pt_gp_list; 303 struct list_head tg_pt_gp_list;
304 struct list_head tg_pt_gp_mem_list; 304 struct list_head tg_pt_gp_mem_list;
305 struct se_port *tg_pt_gp_alua_port;
306 struct se_node_acl *tg_pt_gp_alua_nacl;
307 struct delayed_work tg_pt_gp_transition_work;
308 struct completion *tg_pt_gp_transition_complete;
305}; 309};
306 310
307struct t10_alua_tg_pt_gp_member { 311struct t10_alua_tg_pt_gp_member {