aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorGeorge Amanakis <[email protected]>2020-12-04 23:34:29 +0100
committerGitHub <[email protected]>2020-12-04 14:34:29 -0800
commitd1d47691c256cd7e15af7819ea33024e6693e9c5 (patch)
tree3f0262126cdec6ab1035fd3e07759c55bb55477b /tests/runfiles
parent0cb40fa38903298b7af2b1084e8228b2c8315c4e (diff)
Fix raw sends on encrypted datasets when copying back snapshots
When sending raw encrypted datasets the user space accounting is present when it's not expected to be. This leads to the subsequent mount failure due a checksum error when verifying the local mac. Fix this by clearing the OBJSET_FLAG_USERACCOUNTING_COMPLETE and reset the local mac. This allows the user accounting to be correctly updated on first mount using the normal upgrade process. Reviewed-By: Brian Behlendorf <[email protected]> Reviewed-By: Tom Caputi <[email protected]> Signed-off-by: George Amanakis <[email protected]> Closes #10523 Closes #11221
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/common.run3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index d8345f62b..257fac2c1 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -865,7 +865,8 @@ tests = [
'userquota_004_pos', 'userquota_005_neg', 'userquota_006_pos',
'userquota_007_pos', 'userquota_008_pos', 'userquota_009_pos',
'userquota_010_pos', 'userquota_011_pos', 'userquota_012_neg',
- 'userspace_001_pos', 'userspace_002_pos', 'userspace_encrypted']
+ 'userspace_001_pos', 'userspace_002_pos', 'userspace_encrypted',
+ 'userspace_send_encrypted']
tags = ['functional', 'userquota']
[tests/functional/vdev_zaps]