]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb300f6f5788180c26dde18de6d9852eadb2831eb
tree01a1d264a5c5b1bdfef3ca8d3984286c7fa563f8
parent6cb919ee6a9fc69e2bff95cce288abb920767063
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