]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/target/target_core_user.c
tcmu: perfom device add, del and reconfig synchronously
authorMike Christie <mchristi@redhat.com>
Fri, 23 Jun 2017 06:18:15 +0000 (01:18 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 06:11:39 +0000 (23:11 -0700)
commitb3af66e24393f03ef81db17a11387d9e6174bd01
treeba312a0f8fb70ad46225119732d217b73b8e56c9
parent85441e6b8c97964a6da72135dc21f708adbdc4d8
tcmu: perfom device add, del and reconfig synchronously

This makes the device add, del reconfig operations sync. It fixes
the issue where for add and reconfig, we do not know if userspace
successfully completely the operation, so we leave invalid kernel
structs or report incorrect status for the config/reconfig operations.

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