A data corruption bug in OpenZFS?

In November 2023, a silent data corruption bug was discovered in OpenZFS, which is a data storage system. The bug occurred during the moment when a dnode (metadata header) was taken off the dirty list and not yet put on the syncing list, leading to incorrect data detection. The bug was initially thought to be caused by block cloning, but it was later found that disabling block cloning did not fully resolve the issue. The bug could be mitigated by setting the configuration parameter zfs_dmu_offset_next_sync to 0, which prevented waiting for the syncing transaction to be completed. Overall, the bug was a challenging issue to address, but efforts were made to fix it and provide a workaround.

https://despairlabs.com/blog/posts/2023-12-25-openzfs-data-corruption-bug/

To top