dracut/0542-Include-crc32c-intel-module-when-using-btrfs.patch
Daniel Molkentin 3bca7421ef Accepting request 535957 from home:dmolkentin:branches:Base:System
- This is to support predictable interface names (boo#960669)
 * adds 0541-Make-sure-70-persistent-net.rules-is-included-in-ini.patch 
- Include crc32c Intel module when using btrfs (bsc#1011554)
 * adds 0542-Include-crc32c-intel-module-when-using-btrfs.patch

OBS-URL: https://build.opensuse.org/request/show/535957
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=324
2017-10-23 11:56:26 +00:00

27 lines
756 B
Diff

From 3c2699fc3f5602a13ec18a0a07d515847dc11fa9 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <dmolkentin@suse.com>
Date: Mon, 23 Oct 2017 13:36:18 +0200
Subject: [PATCH] Include crc32c-intel module when using btrfs
Reference: bsc#1011554
---
modules.d/90btrfs/module-setup.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules.d/90btrfs/module-setup.sh b/modules.d/90btrfs/module-setup.sh
index 9303dbe2..b0d0058b 100755
--- a/modules.d/90btrfs/module-setup.sh
+++ b/modules.d/90btrfs/module-setup.sh
@@ -26,6 +26,8 @@ depends() {
# called by dracut
installkernel() {
instmods btrfs
+ # Make sure btfs can use fast crc32c implementations where available (bsc#1011554)
+ instmods crc32c-intel
}
# called by dracut
--
2.14.1