On 4/14/23 09:23, Charlie Li wrote:
Pawel Jakub Dawidek wrote:
Here is the change that reverts most of the modifications and disables
cloning new blocks. It does retain ability to free existing cloned
blocks and keeps block_cloning feature around, so upgraded pools can
be imported and existing cloned blocks freed.
It does not handle replaying ZIL with block-cloning logs, so make sure
you import pools that were cleanly exported.
I'd appreciate if someone who can reproduce those corruptions could
try it.
https://github.com/pjd/openzfs/commit/f2cfbcf76a733c44e25cba8c649162ef68047103
Does not apply to sys/contrib/openzfs tip, conflicts in
module/os/freebsd/zfs/zfs_vnops_os.c and module/zfs/dmu.c.
This should work:
https://people.freebsd.org/~pjd/patches/brt_revert.patch
--
Pawel Jakub Dawidek