Skip to content

Commit

Permalink
fix(nvmf): don't create did-setup file
Browse files Browse the repository at this point in the history
did-setup files are meant to indicate that an interface setup
was successful. Don't do it here.
  • Loading branch information
mwilck authored and johannbg committed Sep 30, 2022
1 parent a3cf4ec commit 03921ec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules.d/95nvmf/parse-nvmf-boot-connections.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ done

if [ -f "/etc/nvme/discovery.conf" ]; then
/sbin/initqueue --settled --onetime --unique --name nvme-discover /usr/sbin/nvme connect-all
if [ "$trtype" = "tcp" ]; then
: > /tmp/net."$ifname".did-setup
fi
else
# No nvme command line arguments present, try autodiscovery
if [ "$trtype" = "fc" ]; then
Expand Down

0 comments on commit 03921ec

Please sign in to comment.