Whamcloud - gitweb
LU-17404 kernel: fix filemap_splice_read detection 54/55454/3
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 17 Jun 2024 14:29:33 +0000 (16:29 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Jul 2024 20:08:09 +0000 (20:08 +0000)
commitbefb4e43590fff7f3b0d42e5928e91a76dc223f0
tree3ab36f909cf74f45007b239b3bb884b2cc8a409c
parentc8ca47daac7af4268a0ea698f962e441f8a69108
LU-17404 kernel: fix filemap_splice_read detection

On Centos 9 kernel 5.14, filemap_splice_read is in the header files,
but the symbol is not exported by the kernel.
So instead of trying to build a kernel module with a call to this
function, just use LB_CHECK_EXPORT on this symbol.

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I1f55d0b41c46a992204c1cebc3f5c8c7dbc6128e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55454
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
lustre/autoconf/lustre-core.m4