mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Add --no-preserve-encryption flag
* Add an option to send datasets with params or replicate without preserving encryption * Add a test case for the new functionality Reviewed-by: Paul Dagnelie <paul.dagnelie@klarasystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Chris Jacobs <idefix2020dev@gmail.com> Closes #18240
This commit is contained in:
@@ -844,6 +844,9 @@ typedef struct sendflags {
|
||||
|
||||
/* stream represents a partially received dataset */
|
||||
boolean_t saved;
|
||||
|
||||
/* allow sending datasets with props, without preserving encryption */
|
||||
boolean_t no_preserve_encryption;
|
||||
} sendflags_t;
|
||||
|
||||
typedef boolean_t (snapfilter_cb_t)(zfs_handle_t *, void *);
|
||||
|
||||
Reference in New Issue
Block a user