OSDN Git Service

nvme: show subsys nqn for duplicate cntlids
authorKeith Busch <kbusch@kernel.org>
Mon, 29 Nov 2021 16:24:34 +0000 (08:24 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 6 Dec 2021 07:52:08 +0000 (08:52 +0100)
commit16cc33b23732d3ec55e428ddadb39c225f23de7e
treef5fb8d32a3947d7a1d6e5174c42900fe795a27df
parente3f9387aea67742b9d1f4de8e5bb2fd08a8a4584
nvme: show subsys nqn for duplicate cntlids

The driver assigned nvme handle isn't persistent across reboots, so is
not enough information to match up where the collisions are occuring.
Add the subsys nqn string to the output so that it can more easily be
identified later.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=215099
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c