Whamcloud - gitweb
LU-18515 build: fix configure checks for ZFS 2.2.3 52/57452/4
authorTimothy Day <timday@amazon.com>
Thu, 17 Apr 2025 15:58:29 +0000 (15:58 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:17:05 +0000 (02:17 +0000)
These config checks were missing certain headers. Thus,
the checks failed which caused the build to also fail when
trying to compile against ZFS 2.3.0+.

Fixes: a13fc434c57f ("LU-17662 osd-zfs: Support for ZFS 2.2.3")
Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I8e231f0c4581f435cb4209c767fc4727cb6cbfa0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57452
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Akash B <akash-b@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build-linux.m4

index 8666973..a85c9c5 100644 (file)
@@ -879,6 +879,10 @@ ifneq (\$(SINC),)
 LINUXINCLUDE += -I\$(SINC)
 else
 LINUXINCLUDE += -I\$(ZINC)/include/spl
+LINUXINCLUDE += -I\$(ZINC)/include/zfs
+LINUXINCLUDE += -I\$(ZINC)/include/os/linux/spl
+LINUXINCLUDE += -I\$(ZINC)/include/os/linux/zfs
+LINUXINCLUDE += -I\$(ZINC)/include/os/linux/kernel
 endif
 endif
 LINUXINCLUDE += -include $CONFIG_INCLUDE