You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the beginning, the zswap block device has always required CRYPTO_LZ4 to be enabled, since lz4 is hardcoded as the default compression algorithm. As a consequence, when a different compression algorithm is hardcoded and the respective CRYPTO_<algo> is not enabled, zswap would not be used therefore causing an issue when swap is needed.
This patch removes the hardcoded lz4 dependency and allows the user to select the default compression algorithm for zswap at build time. The previous behaviour is kept, as the default compression algorithm is still lz4.
This patch was inspired by [1].
[1]: torvalds/linux@3d711a3
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
0 commit comments