[azure][PATCH] UBUNTU: azure: force rdma_ucm to be loaded when hv_network_direct_* is loaded
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Wed Aug 30 13:55:26 UTC 2017
BugLink: http://bugs.launchpad.net/bugs/1712915
Create a soft dependency to automatically load rdma_ucm when a Hyper-V
RDMA driver is loaded. Since the RDMA drivers are usually loaded by
WALinuxAgent, the agent must be installed on the system for rdma_ucm to
be loaded during the boot.
The wildcard used in the softdep directive covers all RDMA driver
versions and it's also triggered when the driver is loaded via an alias,
i.e. "hv_network_direct".
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
---
debian.azure/modprobe.d/common.conf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian.azure/modprobe.d/common.conf b/debian.azure/modprobe.d/common.conf
index 57acdd4be025..734054dc30e3 100644
--- a/debian.azure/modprobe.d/common.conf
+++ b/debian.azure/modprobe.d/common.conf
@@ -3,3 +3,5 @@ blacklist snd-mixer-oss
blacklist snd-pcm-oss
# LP:1708699 -- prevent RDMA drivers from being hot plugged
install vmbus:3daf2e8ca732094bab99bd1f1c86b501 true
+# LP:1712915 -- [Hyper-V] linux-azure: rdma_ucm should autoload on HPC images
+softdep hv_network_direct_* post: rdma_ucm
--
2.7.4
More information about the kernel-team
mailing list