]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/target/target_core_alua.c
target: simplify alua support
authorChristoph Hellwig <hch@infradead.org>
Wed, 10 Oct 2012 21:37:16 +0000 (17:37 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 7 Nov 2012 04:55:45 +0000 (20:55 -0800)
commitc87fbd5656f263f0fc1c37d20f402797c068232e
treeaf83a409d4ba234cf0f67419e48d5588423d05ad
parentd977f4377fbc396b888e12fdb3b13118b09ca7db
target: simplify alua support

We always support ALUA for virtual backends, and never for physical ones.  Simplify
the code to just deal with these two cases and remove the superflous abstractions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c
drivers/target/target_core_alua.h
drivers/target/target_core_configfs.c
drivers/target/target_core_device.c
drivers/target/target_core_spc.c
drivers/target/target_core_transport.c
include/target/target_core_base.h