nvme: warn when finding multi-port subsystems without multipathing enabled
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Nov 2018 15:57:54 +0000 (16:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:24:40 +0000 (09:24 +0100)
commit1bda8b7996656c85005db7ac2a86b797c7f6cd1d
treebad41cd490517463700c6047135780186f254a2c
parent1f925643315d87d0d04c98f69fb8c7655dbc8beb
nvme: warn when finding multi-port subsystems without multipathing enabled

[ Upstream commit 14a1336e6fff47dd1028b484d6c802105c58e2ee ]

Without CONFIG_NVME_MULTIPATH enabled a multi-port subsystem might
show up as invididual devices and cause problems, warn about it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/nvme.h