|
|
955b2d |
From 58c23ceb12d16756b2222a55d1d9dc5f34bb4fa4 Mon Sep 17 00:00:00 2001
|
|
|
955b2d |
From: James Smart <jsmart2021@gmail.com>
|
|
|
955b2d |
Date: Fri, 17 Dec 2021 11:32:32 -0800
|
|
|
955b2d |
Subject: [PATCH 5/6] nvme-cli: nvmf-connect@.service: Remove matching from
|
|
|
955b2d |
default syntax
|
|
|
955b2d |
|
|
|
955b2d |
commit 53aab69a0add added the "--matching" argument to the systemd
|
|
|
955b2d |
connect script that issues connect-all to a discovery controller. When
|
|
|
955b2d |
this argument is used, only discovery log entries whose target port
|
|
|
955b2d |
traddr's match the traddr of the discovery controller will be connected
|
|
|
955b2d |
to. This eliminates the ability to do referrals by the discovery
|
|
|
955b2d |
controller.
|
|
|
955b2d |
|
|
|
955b2d |
Revert the commit so that the "--matching" argument is not default
|
|
|
955b2d |
behavior.
|
|
|
955b2d |
|
|
|
955b2d |
Signed-off-by: James Smart <jsmart2021@gmail.com>
|
|
|
955b2d |
CC: Martin Wilck <mwilck@suse.com>
|
|
|
955b2d |
Signed-off-by: Daniel Wagner <dwagner@suse.de>
|
|
|
955b2d |
Link: https://lore.kernel.org/r/20211217193232.29034-1-jsmart2021@gmail.com
|
|
|
955b2d |
---
|
|
|
955b2d |
nvmf-autoconnect/systemd/nvmf-connect@.service | 2 +-
|
|
|
955b2d |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
955b2d |
|
|
|
955b2d |
diff --git a/nvmf-autoconnect/systemd/nvmf-connect@.service b/nvmf-autoconnect/systemd/nvmf-connect@.service
|
|
|
955b2d |
index 5fbf081..c60f146 100644
|
|
|
955b2d |
--- a/nvmf-autoconnect/systemd/nvmf-connect@.service
|
|
|
955b2d |
+++ b/nvmf-autoconnect/systemd/nvmf-connect@.service
|
|
|
955b2d |
@@ -11,4 +11,4 @@ Requires=nvmf-connect.target
|
|
|
955b2d |
[Service]
|
|
|
955b2d |
Type=simple
|
|
|
955b2d |
Environment="CONNECT_ARGS=%i"
|
|
|
955b2d |
-ExecStart=/bin/sh -c "nvme connect-all --matching --quiet `/bin/echo -e '${CONNECT_ARGS}'`"
|
|
|
955b2d |
+ExecStart=/bin/sh -c "nvme connect-all --quiet `/bin/echo -e '${CONNECT_ARGS}'`"
|
|
|
955b2d |
--
|
|
|
955b2d |
2.27.0
|
|
|
955b2d |
|