]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print-stdout: Do not show non reachable ns in namespace topology
authorDaniel Wagner <dwagner@suse.de>
Wed, 26 Jul 2023 13:46:55 +0000 (15:46 +0200)
committerDaniel Wagner <wagi@monom.org>
Thu, 27 Jul 2023 08:20:01 +0000 (10:20 +0200)
commitda1e6a4be9f957c28bcff56f1b691fe25d4e6657
treea520690bd54aa96742cf43cea24f72620761f228
parent7c965a0482fdd792314accae8e1b00f1f81e9812
nvme-print-stdout: Do not show non reachable ns in namespace topology

If the host is connected to the target with two different hostnqn we can
have the situation where a namespace is only reachable via one ctrl and
a second namespace only by a different controller. Thus we should only
show a namespace in the topology if there is a path.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
nvme-print-stdout.c