Whamcloud - gitweb
LU-12275 sec: disable bio functions on client
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 16 Feb 2023 16:10:13 +0000 (09:10 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 17 Feb 2023 19:35:33 +0000 (19:35 +0000)
commita1eb24b580c3a0839935deaf2a3054c588680f08
treed37ee5ffb4abe8c1e4e4dcbb3959cd446cf4f0b6
parentcf221140d5050794d375bc40c12db8ea9a40808d
LU-12275 sec: disable bio functions on client

The reference to bio_alloc() on the client is causing compile
issues with different kernels and adds unnecessary portability
complexity to the client code.

Disable llcrypt_zeroout_range() for client builds because it is
not needed since direct block device access is not used by llite.

Lustre-change: https://review.whamcloud.com/50023
Lustre-commit: TBD (from 0ebb7e37b85f8e881985bdcb45d3e16ace37c1f0)

Test-Parameters: trivial
Fixes: a813e8187 ("LU-12275 sec: add llcrypt as file encryption library")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I97642dfd85053b9ea4196374f2002ffb6a2540e5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50022
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
libcfs/include/libcfs/crypto/llcrypt.h
libcfs/libcfs/crypto/bio.c