mirror_zfs/contrib/pyzfs/libzfs_core
Tom Caputi d9c460a0b6 Added encryption support for zfs recv -o / -x
One small integration that was absent from b52563 was
support for zfs recv -o / -x with regards to encryption
parameters. The main use cases of this are as follows:

* Receiving an unencrypted stream as encrypted without
  needing to create a "dummy" encrypted parent so that
  encryption can be inheritted.

* Allowing users to change their keylocation on receive,
  so long as the receiving dataset is an encryption root.

* Allowing users to explicitly exclude or override the
  encryption property from an unencrypted properties stream,
  allowing it to be received as encrypted.

* Receiving a recursive heirarchy of unencrypted datasets,
  encrypting the top-level one and forcing all children to
  inherit the encryption.

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7650
2018-08-15 09:48:49 -07:00
..
bindings Added encryption support for zfs recv -o / -x 2018-08-15 09:48:49 -07:00
test Prevent make distclean removing 0 sized file 2018-05-06 20:46:13 -07:00
__init__.py Adopt pyzfs from ClusterHQ 2018-05-01 10:33:35 -07:00
_constants.py Adopt pyzfs from ClusterHQ 2018-05-01 10:33:35 -07:00
_error_translation.py Adopt pyzfs from ClusterHQ 2018-05-01 10:33:35 -07:00
_libzfs_core.py Added encryption support for zfs recv -o / -x 2018-08-15 09:48:49 -07:00
_nvlist.py Adopt pyzfs from ClusterHQ 2018-05-01 10:33:35 -07:00
ctypes.py Adopt pyzfs from ClusterHQ 2018-05-01 10:33:35 -07:00
exceptions.py Adopt pyzfs from ClusterHQ 2018-05-01 10:33:35 -07:00