Whamcloud - gitweb
LU-11845 osd-zfs: Support encrypted ZFS datasets 76/35476/2
authorNathaniel Clark <nclark@whamcloud.com>
Wed, 9 Jan 2019 20:43:59 +0000 (15:43 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 20 Jul 2019 17:52:43 +0000 (17:52 +0000)
commite8987061bce88e7a2d2badf78154126681bc8428
tree66e9c3a6ccbb96e419bb7f7e26156c98be75cbff
parent19fdb52725360d4233f6e13de9f399f344a15109
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

Lustre-change: https://review.whamcloud.com/33999
Lustre-commit: 3d43658fc36e5821d8b094c1c2365e9520dbe9fe

Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Change-Id: I1d9bc1a579ac26706a9f6cc5a0d52649ce005228
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35476
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osd-zfs/osd_handler.c