diff options
author | Mike Christie <mchristi@redhat.com> | 2017-03-02 04:59:48 -0600 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-03-18 14:47:28 -0700 |
commit | d7175373f2745ed4abe5b388d5aabd06304f801e (patch) | |
tree | 1c71cba5b9b43fc7237b36c3301c86cc6fb21b1c /include/target/target_core_base.h | |
parent | 207ee84133c00a8a2a5bdec94df4a5b37d78881c (diff) | |
download | op-kernel-dev-d7175373f2745ed4abe5b388d5aabd06304f801e.zip op-kernel-dev-d7175373f2745ed4abe5b388d5aabd06304f801e.tar.gz |
target: fix ALUA transition timeout handling
The implicit transition time tells initiators the min time
to wait before timing out a transition. We currently schedule
the transition to occur in tg_pt_gp_implicit_trans_secs
seconds so there is no room for delays. If
core_alua_do_transition_tg_pt_work->core_alua_update_tpg_primary_metadata
needs to write out info to a remote file, then the initiator can
easily time out the operation.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target/target_core_base.h')
-rw-r--r-- | include/target/target_core_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 37c274e..4b784b6 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -299,7 +299,7 @@ struct t10_alua_tg_pt_gp { struct list_head tg_pt_gp_lun_list; struct se_lun *tg_pt_gp_alua_lun; struct se_node_acl *tg_pt_gp_alua_nacl; - struct delayed_work tg_pt_gp_transition_work; + struct work_struct tg_pt_gp_transition_work; struct completion *tg_pt_gp_transition_complete; }; |