]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63209cff9073239e36e73fb4d09f46956c9327df
treeaa5faa36d1b44a5a3cf511caa336dfe7f1f7f8df
parent60b218499caee2270eb3db0e6a21156297e53f33
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