]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: tcmu: simplify nl interface
authorMike Christie <mchristi@redhat.com>
Mon, 18 Mar 2019 17:31:49 +0000 (10:31 -0700)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 27 Mar 2019 06:22:13 +0000 (02:22 -0400)
commit11406be9bc2585ebf8b955d3d0355065778dfc74
tree12f411aec888838b147cea287da42829fc8b4a5b
parentdc8cca4bb324c5102d9a702d4488c288ea2ad1d8
scsi: tcmu: simplify nl interface

BugLink: https://bugs.launchpad.net/bugs/1819504
Just return EBUSY if a nl request comes in while processing one. The upper
layers do not support sending multiple create/remove requests at the same
time (you cannot have a create and remove at the same time or do multiple
creates or removes at the same time) and doing a reconfig while a
create/remove is still executing does not make sense.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Tested-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(backported from commit 9de3a1ef032a5ad5d7b642d625b6bd362b1989d6)
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/target/target_core_user.c