diff options
author | Brian Behlendorf <[email protected]> | 2019-04-12 14:28:04 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2019-04-12 14:28:04 -0700 |
commit | b92f5d9f8254f726298a6ab962719fc2b68350b1 (patch) | |
tree | 385746b3edf259ca9edc315f8d78739c24cdb894 /tests/runfiles | |
parent | 3fa93bb8d3f0c757814b96a98ce3334d132894f1 (diff) |
Fix issue in receive_object() during reallocation
When receiving an object to a previously allocated interior slot
the new object should be "allocated" by setting DMU_NEW_OBJECT,
not "reallocated" with dnode_reallocate(). For resilience verify
the slot is free as required in case the stream is malformed.
Add a test case to generate more realistic incremental send streams
that force reallocation to occur during the receive.
Reviewed-by: Olaf Faaland <[email protected]>
Reviewed-by: Tom Caputi <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #8067
Closes #8614
Diffstat (limited to 'tests/runfiles')
-rw-r--r-- | tests/runfiles/linux.run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index d812da62e..f57572dc2 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -805,7 +805,7 @@ tests = ['rsend_001_pos', 'rsend_002_pos', 'rsend_003_pos', 'rsend_004_pos', 'send-c_embedded_blocks', 'send-c_resume', 'send-cpL_varied_recsize', 'send-c_recv_dedup', 'send_encrypted_files', 'send_encrypted_heirarchy', 'send_encrypted_props', 'send_freeobjects', 'send_realloc_dnode_size', - 'send_holds', 'send_hole_birth', 'send_mixed_raw', + 'send_realloc_files', 'send_holds', 'send_hole_birth', 'send_mixed_raw', 'send-wDR_encrypted_zvol'] tags = ['functional', 'rsend'] |