Skip to content

Commit

Permalink
fix(nvmf): don't use "finished" queue for autoconnect
Browse files Browse the repository at this point in the history
The "finished" initqueue is for testing if everything is alright,
not for triggering any actions.
  • Loading branch information
mwilck authored and johannbg committed Sep 30, 2022
1 parent 03921ec commit e93e465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/95nvmf/parse-nvmf-boot-connections.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ if [ -f "/etc/nvme/discovery.conf" ]; then
else
# No nvme command line arguments present, try autodiscovery
if [ "$trtype" = "fc" ]; then
/sbin/initqueue --finished --onetime --unique --name nvme-fc-autoconnect /sbin/nvmf-autoconnect.sh
/sbin/initqueue --settled --onetime --unique --name nvme-fc-autoconnect /sbin/nvmf-autoconnect.sh
fi
fi

0 comments on commit e93e465

Please sign in to comment.