Whamcloud - gitweb
LU-13127 libcfs: make noise to console if CRC32 is missing 14/37214/9
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 13 Jan 2020 09:37:44 +0000 (12:37 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Apr 2020 08:08:59 +0000 (08:08 +0000)
commite1a0f602a60855d90c7947b06fb248d66e178945
treed810e01d1baa5c382e3f4cad4d773fbbcb5ac452
parent6706bfa81998c999012909e4cfcd1d3dbc347075
LU-13127 libcfs: make noise to console if CRC32 is missing

if CRC32 support is disabled in the kernel by mistake, then
early replies don't work and the actual cause isn't obvious.

the patch also adds a check at configure to ensure that
target kernel support CRC32 crypto function.

Change-Id: I17999ae89eaf6c4fb7c7db12200e2092cc6afea8
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/37214
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
libcfs/autoconf/lustre-libcfs.m4
libcfs/libcfs/linux-crypto.c