All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvme-cli: nvmf-connect@.service: Remove matching from default syntax
@ 2021-12-17 19:32 James Smart
  2021-12-17 20:43 ` Martin Wilck
  2021-12-21 13:02 ` Daniel Wagner
  0 siblings, 2 replies; 5+ messages in thread
From: James Smart @ 2021-12-17 19:32 UTC (permalink / raw)
  To: linux-nvme; +Cc: James Smart, Martin Wilck

commit 53aab69a0add added the "--matching" argument to the systemd
connect script that issues connect-all to a discovery controller. When
this argument is used, only discovery log entries whose target port
traddr's match the traddr of the discovery controller will be connected
to.  This eliminates the ability to do referrals by the discovery
controller.

Revert the commit so that the "--matching" argument is not default
behavior.

Signed-off-by: James Smart <jsmart2021@gmail.com>
CC: Martin Wilck <mwilck@suse.com>
---
 nvmf-autoconnect/systemd/nvmf-connect@.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nvmf-autoconnect/systemd/nvmf-connect@.service b/nvmf-autoconnect/systemd/nvmf-connect@.service
index 5fbf081..c60f146 100644
--- a/nvmf-autoconnect/systemd/nvmf-connect@.service
+++ b/nvmf-autoconnect/systemd/nvmf-connect@.service
@@ -11,4 +11,4 @@ Requires=nvmf-connect.target
 [Service]
 Type=simple
 Environment="CONNECT_ARGS=%i"
-ExecStart=/bin/sh -c "nvme connect-all --matching --quiet `/bin/echo -e '${CONNECT_ARGS}'`"
+ExecStart=/bin/sh -c "nvme connect-all --quiet `/bin/echo -e '${CONNECT_ARGS}'`"
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-21 13:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 19:32 [PATCH] nvme-cli: nvmf-connect@.service: Remove matching from default syntax James Smart
2021-12-17 20:43 ` Martin Wilck
2021-12-17 22:06   ` James Smart
2021-12-20 13:22   ` Hannes Reinecke
2021-12-21 13:02 ` Daniel Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.