Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow block cloning across encrypted datasets. Rebase #14705 to master, added tests. #15544

Merged
merged 3 commits into from
Dec 5, 2023

Commits on Dec 1, 2023

  1. brt: allow block cloning across encrypted datasets

    When two datasets share the same master encryption key, it is safe
    to clone encrypted blocks. Currently only snapshots and clones
    of a dataset share with it the same encryption key.
    
    Signed-off-by: Kay Pedersen <mail@mkwg.de>
    Original-patched-by: Pawel Jakub Dawidek <pawel@dawidek.net>
    oromenahar committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    e76107c View commit details
    Browse the repository at this point in the history
  2. Adding test to test block cloning across encrypted datasets.

    Added a test for:
    - Clone from encrypted sibling to encrypted sibling with
      non encrypted parent
    - Clone from encrypted parent to inherited encrypted child
    - Clone from child to sibling with encrypted parent
    - Clone from snapshot to the original datasets
    - Clone from foreign snapshot to a foreign dataset
    
    Signed-off-by: Kay Pedersen <mail@mkwg.de>
    oromenahar committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    57ea1ad View commit details
    Browse the repository at this point in the history
  3. Added more block cross clone test:

    - cloning from non-encrypted to encrypted datasets
    - cloning from encrypted to non-encrypted datasets
    
    Signed-off-by: Kay Pedersen <mail@mkwg.de>
    oromenahar committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    641f06c View commit details
    Browse the repository at this point in the history