From 79efe9f4620645609c59eec487d9dcf805258d3f Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Mon, 9 Sep 2024 09:43:01 +0200 Subject: [PATCH] fix(nvmf): install (only) required nvmf modules 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 https://github.com/dracut-ng/dracut-ng/commit/3748ed4db5255c516cd60c2d710532d79878a498) --- modules.d/95nvmf/module-setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules.d/95nvmf/module-setup.sh b/modules.d/95nvmf/module-setup.sh index 284a45489..bb63ffea4 100755 --- a/modules.d/95nvmf/module-setup.sh +++ b/modules.d/95nvmf/module-setup.sh @@ -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