]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
target: fix ALUA transition timeout handling
authorMike Christie <mchristi@redhat.com>
Thu, 2 Mar 2017 10:59:48 +0000 (04:59 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:07:26 +0000 (10:07 +0100)
commit892e4f9bc2e218b0126bb4ae7191be366fb4b421
tree5b1a53b6e906e25910662268cb7e7969f9f0b3b9
parent0d34f4770ea11c92af2c6a15c73aaebc75ea94ed
target: fix ALUA transition timeout handling

[ Upstream commit d7175373f2745ed4abe5b388d5aabd06304f801e ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/target/target_core_alua.c
include/target/target_core_base.h