Whamcloud - gitweb
LU-16791 utils: ZFS 2.2 const prop args 18/54818/9
authorBrian Atkinson <batkinson@lanl.gov>
Tue, 26 Sep 2023 18:35:43 +0000 (12:35 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 18 Nov 2024 17:39:46 +0000 (17:39 +0000)
commit0a2d92bf0b2b533c0ddce6bb33cd7f3e25020710
tree12fc4d9f6b4a39ce35d32aaead6f6f294153563e
parent9eac39dfe26b86da736e749df48eec7216c3701e
LU-16791 utils: ZFS 2.2 const prop args

ZFS 2.2 now expects const char * from certain interfaces in
sys/nvpair.h. I updated the build system to detect if this is the case
and if so update the paramters passed to certain functions in
libmount_utils_zfs.c to account for these changes.

Without this patch, Lustre master would not build with ZFS master and
the 2.2 release candidates.

Lustre-change: https://review.whamcloud.com/52519
Lustre-commit: b4b32ffd22d276bc1d8f40e3336df982f3717070

Test-Parameters: trivial testgroup=review-dne-zfs-part-1
Test-Parameters: testgroup=review-dne-zfs-part-2
Test-Parameters: testgroup=review-dne-zfs-part-3
Test-Parameters: testgroup=review-dne-zfs-part-4
Test-Parameters: testgroup=review-dne-zfs-part-5
Test-Parameters: testgroup=review-dne-zfs-part-6
Test-Parameters: testgroup=review-dne-zfs-part-7
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Eric Carbonneau <carbonneau1@llnl.gov>
Change-Id: I0469eeff6dafa6c276fc616381530b6b679d9da1
Reviewed-by: Akash B <akash-b@hpe.com>
Reviewed-by: Thomas Bertschinger <bertschinger@lanl.gov>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54818
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build-zfs.m4
lustre/utils/libmount_utils_zfs.c