]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: fix ALUA transition timeout handling
authorMike Christie <mchristi@redhat.com>
Thu, 2 Mar 2017 10:59:48 +0000 (04:59 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 18 Mar 2017 21:47:28 +0000 (14:47 -0700)
commitd7175373f2745ed4abe5b388d5aabd06304f801e
tree1c71cba5b9b43fc7237b36c3301c86cc6fb21b1c
parent207ee84133c00a8a2a5bdec94df4a5b37d78881c
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>
drivers/target/target_core_alua.c
include/target/target_core_base.h