]> 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)
commit752b422abb15c3e45ca91eaf121556eedde363f3
tree01a1d264a5c5b1bdfef3ca8d3984286c7fa563f8
parent067da682760d94c8ab3f9a25f1b257db29047e99
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