Skip to content

Commit

Permalink
fix(nvmf): install (only) required nvmf modules
Browse files Browse the repository at this point in the history
nvme_rdma was not installed, even if it was required, whereas
nvme_tcp was installed in non-TCP setups. nvme_fabrics will be
pulled in automatically by any transport module and doesn't
need to be installed explicitly.

Fix it.

(cherry picked from commit dracut-ng/dracut-ng@3748ed4)
  • Loading branch information
mwilck authored and aafeijoo-suse committed Sep 12, 2024
1 parent 82efc91 commit 79efe9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules.d/95nvmf/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ depends() {

# called by dracut
installkernel() {
instmods nvme_fc lpfc qla2xxx
hostonly="" instmods nvme_tcp nvme_fabrics 8021q
instmods nvme_fc nvme_tcp nvme_rdma lpfc qla2xxx
# 802.1q VLAN may be set up in Firmware later. Include the module always.
hostonly="" instmods 8021q
}

# called by dracut
Expand Down

0 comments on commit 79efe9f

Please sign in to comment.