]> git.baikalelectronics.ru Git - kernel.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)
commit6cb919ee6a9fc69e2bff95cce288abb920767063
tree1c71cba5b9b43fc7237b36c3301c86cc6fb21b1c
parent75c0c47340b3487fbbe11cc4865ee5e81245d202
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