]> 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)
commit067da682760d94c8ab3f9a25f1b257db29047e99
tree1c71cba5b9b43fc7237b36c3301c86cc6fb21b1c
parentce6890506db3cd4b02b23264e0834f1f28f912c8
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