Skip to content

Commit 58c23ce

Browse files
jsmart-ghdwsuse
authored andcommitted
nvme-cli: nvmf-connect@.service: Remove matching from default syntax
commit 53aab69 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> Signed-off-by: Daniel Wagner <dwagner@suse.de> Link: https://lore.kernel.org/r/20211217193232.29034-1-jsmart2021@gmail.com
1 parent c00a08c commit 58c23ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvmf-autoconnect/systemd/nvmf-connect@.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Requires=nvmf-connect.target
1111
[Service]
1212
Type=simple
1313
Environment="CONNECT_ARGS=%i"
14-
ExecStart=/bin/sh -c "nvme connect-all --matching --quiet `/bin/echo -e '${CONNECT_ARGS}'`"
14+
ExecStart=/bin/sh -c "nvme connect-all --quiet `/bin/echo -e '${CONNECT_ARGS}'`"

0 commit comments

Comments
 (0)