Harald Hoyer 3610a1
From 611b8ae0d71cf2562badb82ddc9abf1b3c848d50 Mon Sep 17 00:00:00 2001
Harald Hoyer 3610a1
From: Harald Hoyer <harald@hoyer.xyz>
Harald Hoyer 3610a1
Date: Thu, 14 Dec 2017 15:38:12 +0100
Harald Hoyer 3610a1
Subject: [PATCH] Merge pull request #316 from danimo/btrfs-crc32-accel
Harald Hoyer 3610a1
Harald Hoyer 3610a1
Include crc32c-intel module when using btrfs
Harald Hoyer 3610a1
---
Harald Hoyer 3610a1
 modules.d/90btrfs/module-setup.sh | 2 ++
Harald Hoyer 3610a1
 1 file changed, 2 insertions(+)
Harald Hoyer 3610a1
Harald Hoyer 3610a1
diff --git a/modules.d/90btrfs/module-setup.sh b/modules.d/90btrfs/module-setup.sh
Harald Hoyer 3610a1
index 9303dbe2..b0d0058b 100755
Harald Hoyer 3610a1
--- a/modules.d/90btrfs/module-setup.sh
Harald Hoyer 3610a1
+++ b/modules.d/90btrfs/module-setup.sh
Harald Hoyer 3610a1
@@ -26,6 +26,8 @@ depends() {
Harald Hoyer 3610a1
 # called by dracut
Harald Hoyer 3610a1
 installkernel() {
Harald Hoyer 3610a1
     instmods btrfs
Harald Hoyer 3610a1
+    # Make sure btfs can use fast crc32c implementations where available (bsc#1011554)
Harald Hoyer 3610a1
+    instmods crc32c-intel
Harald Hoyer 3610a1
 }
Harald Hoyer 3610a1
 
Harald Hoyer 3610a1
 # called by dracut
Harald Hoyer 3610a1