]> granicus.if.org Git - zfs/commit
Add 'zfs umount -u' for encrypted datasets
authorTom Caputi <tcaputi@datto.com>
Fri, 28 Jun 2019 19:38:37 +0000 (15:38 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 28 Jun 2019 19:38:37 +0000 (12:38 -0700)
commit765d1f0644658d772addeb9b2dd5039ac43177ad
tree9c7bf6299e4a9109a1759d4ac9227774f148a259
parent679b0f2abf4cfce9e1520f877bd1970c6cb6426b
Add 'zfs umount -u' for encrypted datasets

This patch adds the ability for the user to unload keys for
datasets as they are being unmounted. This is analogous to
'zfs mount -l'.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alek Pinchuk <apinchuk@datto.com>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes: #8917
Closes: #8952
cmd/zfs/zfs_main.c
lib/libzfs/libzfs_mount.c
man/man8/zfs.8
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_unload_keys.ksh [new file with mode: 0755]