On 4/16/23 01:07, Florian Smeets wrote:
On the pool that has block_cloning enabled I see the above insta panic
when poudriere starts building. I found a workaround though:
--- /usr/local/share/poudriere/include/fs.sh.orig 2023-04-15
18:03:50.090823000 +0200
+++ /usr/local/share/poudriere/include/fs.sh 2023-04-15
18:04:04.144736000 +0200
@@ -295,7 +295,6 @@
fi
zfs clone -o mountpoint=${mnt} \
- -o sync=disabled \
-o atime=off \
-o compression=off \
${fs}@${snap} \
With this workaround I was able to build thousands of packages without
panics or failures due to data corruption.
Thank you, Florian, that was very helpful!
This should fix the problem:
https://github.com/openzfs/zfs/pull/14758
--
Pawel Jakub Dawidek