forked from systemd/zram-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generator: call modprobe for compression modules
Apparently the kernel sometimes doesn't load the appropriate compression algorithm (see systemd#50, systemd#53). Let's do an explicit modprobe call, similarly to what we do for the zram module itself. The operation is minimalistic, and we only load the modules for algs that were explicitly configured (on the assumption that the default alg has to be loaded already), and not known to the kernel. Hopefully fixes systemd#53.
- Loading branch information
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters