提交 7045b388 编写于 作者: A Alexander.Boyko 提交者: Greg Kroah-Hartman

staging/lustre/crypto: add crc32c module loading to libcfs

This patch add automatically module loading for crc32c
when libcfs is starting.

Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2212
Lustre-change: http://review.whamcloud.com/4372Signed-off-by: NAlexander Boyko <alexander_boyko@xyratex.com>
Reviewed-by: NAndreas Dilger <andreas.dilger@intel.com>
Reviewed-by: NShuichi Ihara <sihara@ddn.com>
Reviewed-by: NJames Simmons <uja.ornl@gmail.com>
Signed-off-by: NPeng Tao <tao.peng@emc.com>
Signed-off-by: NAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5be8e070
...@@ -274,6 +274,8 @@ static int adler32; ...@@ -274,6 +274,8 @@ static int adler32;
int cfs_crypto_register(void) int cfs_crypto_register(void)
{ {
request_module("crc32c");
adler32 = cfs_crypto_adler32_register(); adler32 = cfs_crypto_adler32_register();
/* check all algorithms and do performance test */ /* check all algorithms and do performance test */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册