Whamcloud - gitweb
LU-11845 osd-zfs: Support encrypted ZFS datasets 99/33999/10
authorNathaniel Clark <nclark@whamcloud.com>
Wed, 9 Jan 2019 20:43:59 +0000 (15:43 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Apr 2019 03:35:24 +0000 (03:35 +0000)
commit3d43658fc36e5821d8b094c1c2365e9520dbe9fe
tree712c5b9e99d297d017869d42f173a1c6e8611b70
parentc872afa36ff5de5910f0f524f7a487982fa0c776
LU-11845 osd-zfs: Support encrypted ZFS datasets

Call zfs::dmu_objset_own and zfs::dmu_objset_disown with
decrypt=B_TRUE

This is called the same way as in zfs modules.

Fixes: 0fedb017c1 ("LU-9890 osd-zfs: dmu_objset_own/disown changes")
Test-Parameters: envdefinitions=ZFS_MKFS_OPTS="encryption=on -o keylocation=file:///etc/adjtime -o keyformat=passphrase" testlist=sanity fstype=zfs
Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Change-Id: I1d9bc1a579ac26706a9f6cc5a0d52649ce005228
Reviewed-on: https://review.whamcloud.com/33999
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osd-zfs/osd_handler.c