target: allow userspace to set state to transitioning
authorMike Christie <mchristi@redhat.com>
Thu, 2 Mar 2017 10:59:49 +0000 (04:59 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 18 Mar 2017 21:47:28 +0000 (14:47 -0700)
commit1ca4d4fa3bfcbe8964f81e5818a9b90436466eb0
tree01a1d264a5c5b1bdfef3ca8d3984286c7fa563f8
parentd7175373f2745ed4abe5b388d5aabd06304f801e
target: allow userspace to set state to transitioning

Userspace target_core_user handlers like tcmu-runner may want to set the
ALUA state to transitioning while it does implicit transitions. This
patch allows that state when set from configfs.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c