nvmet: delete controllers deletion upon subsystem release
authorSagi Grimberg <sagi@grimberg.me>
Sun, 27 Nov 2016 20:29:17 +0000 (22:29 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 26 Jan 2017 15:44:22 +0000 (17:44 +0200)
commit344770b07b7ae70639ebf110010eb6156a6e55e9
treeaa5faa36d1b44a5a3cf511caa336dfe7f1f7f8df
parentc81e55e057b6458aac6d96a6429ef021b7f6f62c
nvmet: delete controllers deletion upon subsystem release

No reason for them to be kept around if we are
deleting the subsystem, so instead of passively
wait for the host to disconnect, actively delete
the controllers.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/configfs.c
drivers/nvme/target/core.c
drivers/nvme/target/nvmet.h