Whamcloud - gitweb
LU-9890 osd-zfs: dmu_objset_own/disown changes 93/28593/3
authorGiuseppe Di Natale <dinatale2@llnl.gov>
Thu, 17 Aug 2017 17:16:49 +0000 (10:16 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 28 Aug 2017 06:27:21 +0000 (06:27 +0000)
commit0fedb017c12629d145fa0577451d43adc757eb36
tree3e451dbcfdaccf7ac02b09cdc7d2d298c5ee5290
parente25c0f1a8595d65f62945de11dc2cf80409a5cc8
LU-9890 osd-zfs: dmu_objset_own/disown changes

ZFS 0.8.0 will introduce ZFS encryption. The interfaces
to 'dmu_objset_own' and 'dmu_objset_disown' have changed.
Add configure checks to determine which versions of these
functions are available and call them appropriately.

Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Test-Parameters: trivial ostfilesystemtype=zfs mdtfilesystemtype=zfs testlist=sanity
Change-Id: Ide1a712858770e373404445b06596130a574d85b
Reviewed-on: https://review.whamcloud.com/28593
Tested-by: Jenkins
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
config/lustre-build-zfs.m4
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_internal.h