summaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2019-04-10 10:17:36 -0700
committerBrian Behlendorf <[email protected]>2019-04-15 15:28:48 -0700
commitc2c6eadf29c8ab46f6c9fdc68688e65785d26b4b (patch)
tree2d77c42f2ca73214ad5fb4cd94de8d0cedef2cfb /tests/runfiles
parent83472fabe5600695fdb07a3f158a9352cc5bf3af (diff)
Fix issues with truncated files in raw sends
When receiving a raw send stream only reallocated objects whose contents were not freed by the standard indicators should call dmu_free_long_range(). Furthermore, if calling dmu_free_long_range() is required then the objects current block size must be used and not the new block size. Two additional test cases were added to provided realistic test coverage for processing reallocated objects which are part of a raw receive. Reviewed-by: Olaf Faaland <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Tom Caputi <[email protected]> Closes #8528 Closes #8607
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/linux.run7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index f01a36da8..836be089b 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -804,9 +804,10 @@ tests = ['rsend_001_pos', 'rsend_002_pos', 'rsend_003_pos', 'rsend_004_pos',
'send-c_mixed_compression', 'send-c_stream_size_estimate', 'send-cD',
'send-c_embedded_blocks', 'send-c_resume', 'send-cpL_varied_recsize',
'send-c_recv_dedup', 'send_encrypted_files', 'send_encrypted_hierarchy',
- 'send_encrypted_props', 'send_freeobjects', 'send_realloc_dnode_size',
- 'send_realloc_files', 'send_holds', 'send_hole_birth', 'send_mixed_raw',
- 'send-wDR_encrypted_zvol']
+ 'send_encrypted_props', 'send_encrypted_truncated_files',
+ 'send_freeobjects', 'send_realloc_dnode_size', 'send_realloc_files',
+ 'send_realloc_encrypted_files', 'send_holds', 'send_hole_birth',
+ 'send_mixed_raw', 'send-wDR_encrypted_zvol']
tags = ['functional', 'rsend']
[tests/functional/scrub_mirror]