Block Cloning Testing for zfs-2.2

Description

  • Test block cloning for edge cases and add test cases.

Problem/Justification

None

Impact

None

Activity

Show:

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: .

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Impact

Low

Original estimate

Time remaining

0m

Components

Fix versions

Priority

Katalon Platform

Created December 11, 2023 at 12:04 PM
Updated February 13, 2024 at 6:06 PM
Resolved December 26, 2023 at 7:27 AM