LU-14776 zfs: fix Ubuntu 20 HWE build issues
With newer Ubuntu systems using ZFS dkms have the following build
errors:
In file included from zfs/2.0.2/source/include/sys/arc.h:32,
from lustre/osd-zfs/osd_internal.h:50,
from lustre/osd-zfs/osd_handler.c:51:
zfs/2.0.2/source/include/sys/zfs_context.h:45:10:
fatal error: sys/types.h: No such file or directory
45 | #include <sys/types.h>
| ^~~~~~~~~~~~~
compilation terminated.
This is due to layout of the tree containing the needed headers.
Include those paths in build system.
Lustre-change: https://review.whamcloud.com/44749
Lustre-commit:
b1723622b88e693cac1d65bc317188f256a82558
Test-Parameters: trivial
Change-Id: I453830c4111ad88ec655d3d7d0ee51627331cb0b
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49854
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>