Block Cloning Testing for zfs-2.2
Description
Problem/Justification
Impact
Activity

Automation for Jira December 11, 2023 at 12:32 PM
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Ameer Hamza December 11, 2023 at 12:29 PM
Added tests for block cloning replay support for encrypted and non-encrypted scenarios: . Encrypted replay tests the scenario mentioned in .
Found a bug, which was triggered due to LWB split optimization when cloning a file over 1022 L0 block pointers. Tried to debug to find the root cause and reported to Mav, and he removed the specific optimization for now . Umer will add a test case under .
Found that
zdb -bcv testpool
hitting ASSERT after replay is completed and block cloning enabled. Reported to Mav and fixed with the PR:Found another scenario where both the original file and the cloned file were created after the pool was frozen. After the replay, the cloned file was corrupted. Discussed this in detail with Mav and he opened a PR to fix a similar scenario that requires specific timing and forced reboot: .
Details
Details
Assignee

Reporter

Test block cloning for edge cases and add test cases.